Class SystemClock
java.lang.Object
org.apache.hc.client5.http.impl.classic.SystemClock
- All Implemented Interfaces:
Clock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the current time, expressed as the number of milliseconds since the epoch.
-
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 interfaceClock
- Returns:
- current time
-