Package com.biglybt.core.util
Class SystemTime.RawProvider
- java.lang.Object
-
- com.biglybt.core.util.SystemTime.RawProvider
-
- All Implemented Interfaces:
SystemTime.SystemTimeProvider
- Enclosing class:
- SystemTime
private static class SystemTime.RawProvider extends java.lang.Object implements SystemTime.SystemTimeProvider
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Thread
updater
-
Constructor Summary
Constructors Modifier Constructor Description private
RawProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getMonoTime()
This implementation does not guarantee monotonous time increases with 100% accuracy as the adjustedTimeOffset is only adjusted every TIME_GRANULARITY_MILLISlong
getSteppedMonoTime()
long
getTime()
-
-
-
Method Detail
-
getTime
public long getTime()
- Specified by:
getTime
in interfaceSystemTime.SystemTimeProvider
-
getMonoTime
public long getMonoTime()
This implementation does not guarantee monotonous time increases with 100% accuracy as the adjustedTimeOffset is only adjusted every TIME_GRANULARITY_MILLIS- Specified by:
getMonoTime
in interfaceSystemTime.SystemTimeProvider
-
getSteppedMonoTime
public long getSteppedMonoTime()
- Specified by:
getSteppedMonoTime
in interfaceSystemTime.SystemTimeProvider
-
-