Interface MonotonicNanoClock
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface MonotonicNanoClock
Clock which returns a monotonically increasing timestamp from an undefined epoch. The epoch is guaranteed to be stable within a single JVM execution, but not across processes. Should therefore only be used for relative duration tracking, not absolute wall clock time events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
nanoTimeNow()
-