Package org.agrona.concurrent
Interface EpochNanoClock
- All Known Implementing Classes:
OffsetEpochNanoClock
,SystemEpochNanoClock
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Clock representing the time in nanoseconds since 1 Jan 1970 UTC.
-
Method Summary
-
Method Details
-
nanoTime
long nanoTime()Time in nanoseconds since 1 Jan 1970 UTC.- Returns:
- the number of nanoseconds since 1 Jan 1970 UTC.
-