Class BaseRelativeTime
java.lang.Object
org.apache.accumulo.server.util.time.BaseRelativeTime
- All Implemented Interfaces:
ProvidesTime
- Direct Known Subclasses:
RelativeTime
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
-
Method Details
-
currentTime
public long currentTime()- Specified by:
currentTime
in interfaceProvidesTime
-
updateTime
public void updateTime(long advice)
-