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