org.apache.accumulo.server.util.time
Class BaseRelativeTime
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currentTime
public long currentTime()
- Specified by:
currentTime
in interface ProvidesTime
updateTime
public void updateTime(long advice)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.