org.apache.accumulo.server.util.time
Class RelativeTime
java.lang.Object
org.apache.accumulo.server.util.time.BaseRelativeTime
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()
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static BaseRelativeTime getInstance()
setInstance
public static void setInstance(BaseRelativeTime newInstance)
currentTimeMillis
public static long currentTimeMillis()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.