Package io.token.util

Class SystemTimeClock

  • All Implemented Interfaces:

    public class SystemTimeClock
    extends java.lang.Object
    implements Clock
    • Constructor Summary

      Constructor Description
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getTime()
      Gets the current time in Epoch milliseconds.
      • Methods inherited from class java.lang.Object

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

      • SystemTimeClock

        public SystemTimeClock()
    • Method Detail

      • getTime

        public long getTime()
        Description copied from interface: Clock
        Gets the current time in Epoch milliseconds.
        Specified by:
        getTime in interface Clock
        current time