Interface Checkpoint
-
- All Known Implementing Classes:
CompletedCheckpoint,PendingCheckpoint
public interface CheckpointA checkpoint, pending or completed.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCheckpoint.DiscardObjectExtra interface for discarding the checkpoint.
-
Field Summary
Fields Modifier and Type Field Description static Checkpoint.DiscardObjectNOOP_DISCARD_OBJECT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetCheckpointID()Checkpoint.DiscardObjectmarkAsDiscarded()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.
-
-