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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
HOURS_PER_DAY
static final int HOURS_PER_DAY- See Also:
-
US_PER_MS
static final int US_PER_MS- See Also:
-
NS_PER_US
static final int NS_PER_US- See Also:
-
NS_PER_MS
static final int NS_PER_MS- See Also:
-
MS_PER_SECOND
static final int MS_PER_SECOND- See Also:
-
US_PER_SECOND
static final int US_PER_SECOND- See Also:
-
NS_PER_SECOND
static final int NS_PER_SECOND- See Also:
-
SECONDS_PER_MINUTE
static final int SECONDS_PER_MINUTE- See Also:
-
MINUTES_PER_HOUR
static final int MINUTES_PER_HOUR- See Also:
-
SECONDS_PER_HOUR
static final int SECONDS_PER_HOUR- See Also:
-
SECONDS_PER_DAY
static final int SECONDS_PER_DAY- See Also:
-
MS_PER_MINUTE
static final int MS_PER_MINUTE- See Also:
-
MS_PER_HOUR
static final int MS_PER_HOUR- See Also:
-
MS_PER_DAY
static final int MS_PER_DAY- See Also:
-
-
Method Details
-
getMilliseconds
long getMilliseconds() -
getNanoseconds
long getNanoseconds() -
sleep
- Throws:
InterruptedException
-