Package org.apache.hadoop.yarn.util
Class SystemClock
java.lang.Object
org.apache.hadoop.yarn.util.SystemClock
- All Implemented Interfaces:
Clock
Implementation of
Clock that gives the current time from the system
clock in milliseconds.
NOTE: Do not use this to calculate a duration of expire or interval to sleep,
because it will be broken by settimeofday. Please use MonotonicClock
instead.-
Constructor Summary
Constructors -
Method Summary