Class BaseRelativeTime

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

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 Details

    • currentTime

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

      public void updateTime(long advice)