Package org.agrona.concurrent
Class SystemEpochNanoClock
java.lang.Object
org.agrona.concurrent.SystemEpochNanoClock
- All Implemented Interfaces:
EpochNanoClock
Implementation that calls
HighResolutionClock.epochNanos()
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SystemEpochNanoClock
public SystemEpochNanoClock()
-
-
Method Details
-
nanoTime
public long nanoTime()Time in nanoseconds since 1 Jan 1970 UTC.- Specified by:
nanoTime
in interfaceEpochNanoClock
- Returns:
- the number of nanoseconds since 1 Jan 1970 UTC.
-