Class SystemClock

java.lang.Object
org.apache.hc.client5.http.impl.classic.SystemClock
All Implemented Interfaces:
Clock

class SystemClock extends Object implements Clock
  • Constructor Details

    • SystemClock

      SystemClock()
  • Method Details

    • getCurrentTime

      public long getCurrentTime()
      Description copied from interface: Clock
      Returns the current time, expressed as the number of milliseconds since the epoch.
      Specified by:
      getCurrentTime in interface Clock
      Returns:
      current time