Class Clock.Global

  • Enclosing interface:
    Clock

    public static class Clock.Global
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Global()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Clock clock()  
      static long currentTimeMillis()
      Semantically equivalent to System.currentTimeMillis()
      static void logInitializationOutcome​(org.slf4j.Logger logger)  
      static long nanoTime()
      Semantically equivalent to System.nanoTime()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Global

        public Global()
    • Method Detail

      • logInitializationOutcome

        public static void logInitializationOutcome​(org.slf4j.Logger logger)
      • clock

        public static Clock clock()
      • nanoTime

        public static long nanoTime()
        Semantically equivalent to System.nanoTime()
      • currentTimeMillis

        public static long currentTimeMillis()
        Semantically equivalent to System.currentTimeMillis()