Class MonotonicClock.SystemClock

    • Method Detail

      • now

        public 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

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

        public boolean isAfter​(long instant)
      • isAfter

        public boolean isAfter​(long now,
                               long instant)