org.apache.hadoop.hbase.util
Class IncrementingEnvironmentEdge
java.lang.Object
org.apache.hadoop.hbase.util.IncrementingEnvironmentEdge
- All Implemented Interfaces:
- EnvironmentEdge
public class IncrementingEnvironmentEdge
- extends Object
- implements EnvironmentEdge
Uses an incrementing algorithm instead of the default.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncrementingEnvironmentEdge
public IncrementingEnvironmentEdge()
currentTimeMillis
public long currentTimeMillis()
- Returns the currentTimeMillis.
This method increments a known value for the current time each time this
method is called. The first value is 1.
- Specified by:
currentTimeMillis
in interface EnvironmentEdge
- Returns:
- currentTimeMillis.
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.