org.apache.hadoop.yarn.util
Class SystemClock

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


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

Constructor Detail

SystemClock

public SystemClock()
Method Detail

getTime

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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.