Class Millis
- java.lang.Object
-
- com.oracle.coherence.common.util.Duration
-
- com.tangosol.coherence.config.unit.Millis
-
public class Millis extends com.oracle.coherence.common.util.Duration
Millis
is a specializedDuration
whose default constructor assumes that the specified units of time (when the unit magnitude is not specified) are milliseconds.Note: This class is provided to simplify and support backwards compatibility during the injection of millisecond-based units of time into appropriate classes. This class is not designed for general purpose representation of units of time. For general purpose units of time, please use the
Duration
class.- Since:
- Coherence 12.1.2
- Author:
- bo 2012.01.18
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
get()
Obtain theDuration
in units of milliseconds.
-
-
-
Constructor Detail
-
Millis
public Millis(com.oracle.coherence.common.util.Duration d)
Constructs aMillis
based on anotherDuration
.- Parameters:
d
- theDuration
-
-