|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.util.IncrementingEnvironmentEdge
@InterfaceAudience.Private public class IncrementingEnvironmentEdge
Uses an incrementing algorithm instead of the default.
| Constructor Summary | |
|---|---|
IncrementingEnvironmentEdge()
Construct an incremental edge starting from currentTimeMillis |
|
IncrementingEnvironmentEdge(long initialAmount)
Construct an incremental edge with an initial amount |
|
| Method Summary | |
|---|---|
long |
currentTimeMillis()
Returns the currentTimeMillis. |
long |
incrementTime(long amount)
Increment the time by the given amount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IncrementingEnvironmentEdge()
public IncrementingEnvironmentEdge(long initialAmount)
initialAmount - the initial value to start with| Method Detail |
|---|
public long currentTimeMillis()
currentTimeMillis in interface EnvironmentEdgepublic long incrementTime(long amount)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||