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

java.lang.Object
  extended by org.apache.accumulo.server.util.time.BaseRelativeTime
      extended by org.apache.accumulo.server.util.time.RelativeTime
All Implemented Interfaces:
ProvidesTime

public class RelativeTime
extends BaseRelativeTime

Provide time from System time and hints from another time source. Provides a convenient static replacement for System.currentTimeMillis()


Method Summary
static long currentTimeMillis()
           
static BaseRelativeTime getInstance()
           
static void setInstance(BaseRelativeTime newInstance)
           
 
Methods inherited from class org.apache.accumulo.server.util.time.BaseRelativeTime
currentTime, updateTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BaseRelativeTime getInstance()

setInstance

public static void setInstance(BaseRelativeTime newInstance)

currentTimeMillis

public static long currentTimeMillis()


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.