Class Clock.UserTimeClock

  • Enclosing class:
    Clock

    public static class Clock.UserTimeClock
    extends Clock
    A clock implementation which returns the current time in epoch nanoseconds.
    • Constructor Detail

      • UserTimeClock

        public UserTimeClock()
    • Method Detail

      • getTick

        public long getTick()
        Description copied from class: Clock
        Returns the current time tick.
        Specified by:
        getTick in class Clock
        Returns:
        time tick in nanoseconds