Interface Checkpoint
- All Known Implementing Classes:
CompletedCheckpoint,PendingCheckpoint
public interface Checkpoint
A checkpoint, pending or completed.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceExtra interface for discarding the checkpoint. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionlongThis 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 Details
-
NOOP_DISCARD_OBJECT
-
-
Method Details
-
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.
-