TimeUnit¶
-
public enum
TimeUnit
¶ The
TimeUnit
specifies what time unit should be used to specify time when the module trash should be cleaned. This enum is related with the propertyorg.motechproject.mds.util.Constants.Config.MDS_TIME_UNIT
.Each value from this enum can be converted to long value that presents time interval in milliseconds. For example the
HOURS
value is equal to 3.6E6.The
UNKNOWN
value should not be used in code as appropriate value. It was added to ensure that thefromString(String)
method will not return null value.