Class DefaultEngineClock

  • All Implemented Interfaces:
    EngineClock

    public class DefaultEngineClock
    extends java.lang.Object
    implements EngineClock
    This is the default engine clock that return the real system time
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Instant now()  
      • Methods inherited from class java.lang.Object

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

      • DefaultEngineClock

        public DefaultEngineClock()
    • Method Detail

      • now

        public java.time.Instant now()
        Specified by:
        now in interface EngineClock