org.apache.hadoop.yarn.util
Class UTCClock
java.lang.Object
org.apache.hadoop.yarn.util.UTCClock
- All Implemented Interfaces:
- Clock
@InterfaceAudience.Public
@InterfaceStability.Evolving
public class UTCClock
- extends Object
- implements Clock
Implementation of Clock
that gives the current UTC time in
milliseconds.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UTCClock
public UTCClock()
getTime
public long getTime()
- Specified by:
getTime
in interface Clock
Copyright © 2014 Apache Software Foundation. All Rights Reserved.