Class BatchExecutionCheckpointStorage
java.lang.Object
org.apache.flink.streaming.api.operators.sorted.state.BatchExecutionCheckpointStorage
- All Implemented Interfaces:
Serializable,CheckpointStorage
A simple
CheckpointStorage which is used in a BATCH style execution.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCheckpointStorage(org.apache.flink.api.common.JobID jobId) Creates a storage for checkpoints for the given job.resolveCheckpoint(String externalPointer) Resolves the given pointer to a checkpoint/savepoint into a checkpoint location.
-
Constructor Details
-
BatchExecutionCheckpointStorage
public BatchExecutionCheckpointStorage()
-
-
Method Details
-
resolveCheckpoint
Description copied from interface:CheckpointStorageResolves the given pointer to a checkpoint/savepoint into a checkpoint location. The location supports reading the checkpoint metadata, or disposing the checkpoint storage location.- Specified by:
resolveCheckpointin interfaceCheckpointStorage- Parameters:
externalPointer- The external checkpoint pointer to resolve.- Returns:
- The checkpoint location handle.
-
createCheckpointStorage
Description copied from interface:CheckpointStorageCreates a storage for checkpoints for the given job. The checkpoint storage is used to write checkpoint data and metadata.- Specified by:
createCheckpointStoragein interfaceCheckpointStorage- Parameters:
jobId- The job to store checkpoint data for.- Returns:
- A checkpoint storage for the given job.
-