Class TimeRangeTracker.NonSyncTimeRangeTracker
java.lang.Object
org.apache.hadoop.hbase.regionserver.TimeRangeTracker
org.apache.hadoop.hbase.regionserver.TimeRangeTracker.NonSyncTimeRangeTracker
- Enclosing class:
- TimeRangeTracker
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.TimeRangeTracker
TimeRangeTracker.NonSyncTimeRangeTracker, TimeRangeTracker.SyncTimeRangeTracker, TimeRangeTracker.Type
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.TimeRangeTracker
INITIAL_MAX_TIMESTAMP, INITIAL_MIN_TIMESTAMP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
compareAndSetMax
(long expect, long update) protected boolean
compareAndSetMin
(long expect, long update) long
getMax()
Returns the maximumTimestamplong
getMin()
Returns the minimumTimestampprotected void
setMax
(long ts) protected void
setMin
(long ts) Methods inherited from class org.apache.hadoop.hbase.regionserver.TimeRangeTracker
create, create, create, includesTimeRange, includeTimestamp, includeTimestamp, parseFrom, parseFrom, toByteArray, toString, toTimeRange
-
Field Details
-
minimumTimestamp
-
maximumTimestamp
-
-
Constructor Details
-
NonSyncTimeRangeTracker
-
NonSyncTimeRangeTracker
-
NonSyncTimeRangeTracker
NonSyncTimeRangeTracker(long minimumTimestamp, long maximumTimestamp)
-
-
Method Details
-
setMax
- Specified by:
setMax
in classTimeRangeTracker
-
setMin
- Specified by:
setMin
in classTimeRangeTracker
-
compareAndSetMin
- Specified by:
compareAndSetMin
in classTimeRangeTracker
-
compareAndSetMax
- Specified by:
compareAndSetMax
in classTimeRangeTracker
-
getMin
Description copied from class:TimeRangeTracker
Returns the minimumTimestamp- Specified by:
getMin
in classTimeRangeTracker
-
getMax
Description copied from class:TimeRangeTracker
Returns the maximumTimestamp- Specified by:
getMax
in classTimeRangeTracker
-