public static class TimeRangeTracker.NonSyncTimeRangeTracker extends TimeRangeTracker
TimeRangeTracker.NonSyncTimeRangeTracker, TimeRangeTracker.SyncTimeRangeTracker, TimeRangeTracker.Type| Modifier and Type | Field and Description |
|---|---|
private long |
maximumTimestamp |
private long |
minimumTimestamp |
INITIAL_MAX_TIMESTAMP, INITIAL_MIN_TIMESTAMP| Constructor and Description |
|---|
NonSyncTimeRangeTracker() |
NonSyncTimeRangeTracker(long minimumTimestamp,
long maximumTimestamp) |
NonSyncTimeRangeTracker(TimeRangeTracker trt) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
compareAndSetMax(long expect,
long update) |
protected boolean |
compareAndSetMin(long expect,
long update) |
long |
getMax() |
long |
getMin() |
protected void |
setMax(long ts) |
protected void |
setMin(long ts) |
create, create, create, includesTimeRange, includeTimestamp, includeTimestamp, parseFrom, parseFrom, toByteArray, toString, toTimeRangeprivate long minimumTimestamp
private long maximumTimestamp
NonSyncTimeRangeTracker()
NonSyncTimeRangeTracker(TimeRangeTracker trt)
NonSyncTimeRangeTracker(long minimumTimestamp, long maximumTimestamp)
protected void setMax(long ts)
setMax in class TimeRangeTrackerprotected void setMin(long ts)
setMin in class TimeRangeTrackerprotected boolean compareAndSetMin(long expect, long update)
compareAndSetMin in class TimeRangeTrackerprotected boolean compareAndSetMax(long expect, long update)
compareAndSetMax in class TimeRangeTrackerpublic long getMin()
getMin in class TimeRangeTrackerpublic long getMax()
getMax in class TimeRangeTrackerCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.