Class Clock.Fast

  • All Implemented Interfaces:
    Closeable, AutoCloseable
    Enclosing class:
    Clock

    public static class Clock.Fast
    extends Clock
    implements Closeable
    Fast clock implementation whose getTime() method returns instantaneously thanks to a background task that takes care of the actual time-keeping work.