Interface Clock

All Known Implementing Classes:
Clock.CacheClock, Clock.SystemClock
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@ThreadSafe @FunctionalInterface public interface Clock
  • Field Details

    • SYSTEM

      static final Clock SYSTEM
    • CACHE

      static final Clock CACHE
  • Method Details

    • secondTime

      long secondTime()
    • getSystemSecondTime

      static long getSystemSecondTime()