Package org.agrona.concurrent
Interface EpochClock
- All Known Implementing Classes:
CachedEpochClock
,SystemEpochClock
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Retrieves the number of milliseconds since 1 Jan 1970 UTC.
-
Method Summary
-
Method Details
-
time
long time()Time in milliseconds since 1 Jan 1970 UTC.- Returns:
- the number of milliseconds since 1 Jan 1970 UTC.
- See Also:
-