org.apache.hadoop.yarn.util
Class UTCClock

java.lang.Object
  extended by 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.


Constructor Summary
UTCClock()
           
 
Method Summary
 long getTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTCClock

public UTCClock()
Method Detail

getTime

public long getTime()
Specified by:
getTime in interface Clock


Copyright © 2014 Apache Software Foundation. All Rights Reserved.