public abstract class AbstractCompleteCheckpointStore extends Object implements CompletedCheckpointStore
CompletedCheckpointStore, which holds the SharedStateRegistry and provides the registration of shared state.LOG| Constructor and Description |
|---|
AbstractCompleteCheckpointStore(SharedStateRegistry sharedStateRegistry) |
| Modifier and Type | Method and Description |
|---|---|
SharedStateRegistry |
getSharedStateRegistry()
Returns the
SharedStateRegistry used to register the shared state. |
void |
shutdown(org.apache.flink.api.common.JobStatus jobStatus,
CheckpointsCleaner checkpointsCleaner)
Shuts down the store.
|
protected void |
unregisterUnusedState(Deque<CompletedCheckpoint> unSubsumedCheckpoints)
Unregister shared states that are no longer in use.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCheckpointAndSubsumeOldestOne, getAllCheckpoints, getLatestCheckpoint, getLatestCheckpointId, getMaxNumberOfRetainedCheckpoints, getNumberOfRetainedCheckpoints, requiresExternalizedCheckpointspublic AbstractCompleteCheckpointStore(SharedStateRegistry sharedStateRegistry)
public SharedStateRegistry getSharedStateRegistry()
CompletedCheckpointStoreSharedStateRegistry used to register the shared state.getSharedStateRegistry in interface CompletedCheckpointStorepublic void shutdown(org.apache.flink.api.common.JobStatus jobStatus,
CheckpointsCleaner checkpointsCleaner)
throws Exception
CompletedCheckpointStoreThe job status is forwarded and used to decide whether state should actually be discarded or kept.
shutdown in interface CompletedCheckpointStorejobStatus - Job state on shut downcheckpointsCleaner - that will cleanup completed checkpoints if neededExceptionprotected void unregisterUnusedState(Deque<CompletedCheckpoint> unSubsumedCheckpoints)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.