Interface MonotonicClock

    • Method Detail

      • now

        long now()
        See Also:
        Provides a monotonic time that can be compared with any other such value produced by the same clock since the application started only; these times cannot be persisted or serialized to other nodes. Nanosecond precision.
      • error

        long error()
        Returns:
        nanoseconds of potential error
      • isAfter

        boolean isAfter​(long instant)
      • isAfter

        boolean isAfter​(long now,
                        long instant)