Interface Checkpoint
-
- All Known Implementing Classes:
CompletedCheckpoint
,PendingCheckpoint
public interface Checkpoint
A checkpoint, pending or completed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
Checkpoint.DiscardObject
Extra interface for discarding the checkpoint.
-
Field Summary
Fields Modifier and Type Field Description static Checkpoint.DiscardObject
NOOP_DISCARD_OBJECT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getCheckpointID()
Checkpoint.DiscardObject
markAsDiscarded()
This method precede theCheckpoint.DiscardObject.discard()
method and should be called from theCheckpointCoordinator
(under the lock) whileCheckpoint.DiscardObject.discard()
can be called from any thread/place.
-
-
-
Field Detail
-
NOOP_DISCARD_OBJECT
static final Checkpoint.DiscardObject NOOP_DISCARD_OBJECT
-
-
Method Detail
-
getCheckpointID
long getCheckpointID()
-
markAsDiscarded
Checkpoint.DiscardObject markAsDiscarded()
This method precede theCheckpoint.DiscardObject.discard()
method and should be called from theCheckpointCoordinator
(under the lock) whileCheckpoint.DiscardObject.discard()
can be called from any thread/place.
-
-