public class TimelineInteger extends Object
Modifier and Type | Field and Description |
---|---|
static int |
INIT |
Constructor and Description |
---|
TimelineInteger(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.
|
int |
get() |
int |
get(long epoch) |
int |
hashCode() |
void |
increment() |
void |
reset()
Reverts to the initial value.
|
void |
set(int newValue) |
String |
toString() |
public static final int INIT
public TimelineInteger(SnapshotRegistry snapshotRegistry)
public int get()
public int get(long epoch)
public void set(int 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()