public final class FixedUpMonotonicClock extends java.lang.Object implements MonotonicClockSource
To minimise timing errors when such discontinuities occur, a sleepy thread
makes regular calls to
getMsTime, since timed calls to
sleep method are assumed to be independent of the
wallclock time. This places an upper limit on the interval between requests
|Constructor and Description|
|Modifier and Type||Method and Description|
Gets the elapsed time since the monotonic clock source was initialised.
Initialises the monotonic clock source.
public long getMsTime()
public void init()