Package com.linkedin.venice.utils
Class MockCircularTime
- java.lang.Object
-
- com.linkedin.venice.utils.MockCircularTime
-
-
Field Summary
-
Fields inherited from interface com.linkedin.venice.utils.Time
HOURS_PER_DAY, MINUTES_PER_HOUR, MS_PER_DAY, MS_PER_HOUR, MS_PER_MINUTE, MS_PER_SECOND, NS_PER_MS, NS_PER_SECOND, NS_PER_US, SECONDS_PER_DAY, SECONDS_PER_HOUR, SECONDS_PER_MINUTE, US_PER_MS, US_PER_SECOND
-
-
Constructor Summary
Constructors Constructor Description MockCircularTime(java.util.List<java.lang.Long> timestampsInMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getCurrentDate()
long
getMilliseconds()
long
getNanoseconds()
int
getSeconds()
void
sleep(long ms)
-
-
-
Method Detail
-
getCurrentDate
public java.util.Date getCurrentDate()
-
getMilliseconds
public long getMilliseconds()
- Specified by:
getMilliseconds
in interfaceTime
-
getNanoseconds
public long getNanoseconds()
- Specified by:
getNanoseconds
in interfaceTime
-
getSeconds
public int getSeconds()
-
-