Package org.apache.hadoop.hbase.util
Class ManualEnvironmentEdge
java.lang.Object
org.apache.hadoop.hbase.util.ManualEnvironmentEdge
- All Implemented Interfaces:
EnvironmentEdge
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 Details
-
value
-
-
Constructor Details
-
ManualEnvironmentEdge
public ManualEnvironmentEdge()
-
-
Method Details
-
setValue
-
incValue
-
currentTime
Description copied from interface:EnvironmentEdge
Returns the currentTime.- Specified by:
currentTime
in interfaceEnvironmentEdge
- Returns:
- Current time.
-