Package com.linkedin.venice.utils
Interface Time
-
- All Known Implementing Classes:
MockCircularTime
,SystemTime
,TestMockTime
public interface Time
The interface to time itself. Oh wow, your head totally just exploded.
-
-
Field Summary
Fields Modifier and Type Field Description static int
HOURS_PER_DAY
static int
MINUTES_PER_HOUR
static int
MS_PER_DAY
static int
MS_PER_HOUR
static int
MS_PER_MINUTE
static int
MS_PER_SECOND
static int
NS_PER_MS
static int
NS_PER_SECOND
static int
NS_PER_US
static int
SECONDS_PER_DAY
static int
SECONDS_PER_HOUR
static int
SECONDS_PER_MINUTE
static int
US_PER_MS
static int
US_PER_SECOND
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getMilliseconds()
long
getNanoseconds()
void
sleep(long ms)
-
-
-
Field Detail
-
HOURS_PER_DAY
static final int HOURS_PER_DAY
- See Also:
- Constant Field Values
-
US_PER_MS
static final int US_PER_MS
- See Also:
- Constant Field Values
-
NS_PER_US
static final int NS_PER_US
- See Also:
- Constant Field Values
-
NS_PER_MS
static final int NS_PER_MS
- See Also:
- Constant Field Values
-
MS_PER_SECOND
static final int MS_PER_SECOND
- See Also:
- Constant Field Values
-
US_PER_SECOND
static final int US_PER_SECOND
- See Also:
- Constant Field Values
-
NS_PER_SECOND
static final int NS_PER_SECOND
- See Also:
- Constant Field Values
-
SECONDS_PER_MINUTE
static final int SECONDS_PER_MINUTE
- See Also:
- Constant Field Values
-
MINUTES_PER_HOUR
static final int MINUTES_PER_HOUR
- See Also:
- Constant Field Values
-
SECONDS_PER_HOUR
static final int SECONDS_PER_HOUR
- See Also:
- Constant Field Values
-
SECONDS_PER_DAY
static final int SECONDS_PER_DAY
- See Also:
- Constant Field Values
-
MS_PER_MINUTE
static final int MS_PER_MINUTE
- See Also:
- Constant Field Values
-
MS_PER_HOUR
static final int MS_PER_HOUR
- See Also:
- Constant Field Values
-
MS_PER_DAY
static final int MS_PER_DAY
- See Also:
- Constant Field Values
-
-