org.apache.accumulo.server.util.time
Class BaseRelativeTime

java.lang.Object
  extended by org.apache.accumulo.server.util.time.BaseRelativeTime
All Implemented Interfaces:
ProvidesTime
Direct Known Subclasses:
RelativeTime, TestTime

public class BaseRelativeTime
extends Object
implements ProvidesTime

Provide time from a local source and a hint from a time source. RelativeTime and BaseRelativeTime are separated to provide unit tests of the core functionality of Relative timekeeping.


Method Summary
 long currentTime()
           
 void updateTime(long advice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

currentTime

public long currentTime()
Specified by:
currentTime in interface ProvidesTime

updateTime

public void updateTime(long advice)


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.