public class TimelineLong extends Object
Modifier and Type | Field and Description |
---|---|
static long |
INIT |
Constructor and Description |
---|
TimelineLong(SnapshotRegistry snapshotRegistry) |
Modifier and Type | Method and Description |
---|---|
void |
decrement() |
boolean |
equals(Object o) |
void |
executeRevert(long targetEpoch,
org.apache.kafka.timeline.Delta delta)
Revert to the target epoch.
|
long |
get() |
long |
get(long epoch) |
int |
hashCode() |
void |
increment() |
void |
reset()
Reverts to the initial value.
|
void |
set(long newValue) |
String |
toString() |
public static final long INIT
public TimelineLong(SnapshotRegistry snapshotRegistry)
public long get()
public long get(long epoch)
public void set(long newValue)
public void increment()
public void decrement()
public void executeRevert(long targetEpoch, org.apache.kafka.timeline.Delta delta)
targetEpoch
- The epoch to revert to.delta
- The delta associated with this epoch for this object.public void reset()