|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.util.ManualEnvironmentEdge
public class ManualEnvironmentEdge
An environment edge that uses a manually set value. This is useful for testing events that are supposed to happen in the same millisecond.
| Field Summary | |
|---|---|
protected long |
value
|
| Constructor Summary | |
|---|---|
ManualEnvironmentEdge()
|
|
| Method Summary | |
|---|---|
long |
currentTimeMillis()
Returns the currentTimeMillis. |
void |
setValue(long newValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected long value
| Constructor Detail |
|---|
public ManualEnvironmentEdge()
| Method Detail |
|---|
public void setValue(long newValue)
public long currentTimeMillis()
EnvironmentEdge
currentTimeMillis in interface EnvironmentEdge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||