Class BatchExecutionCheckpointStorage
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.sorted.state.BatchExecutionCheckpointStorage
-
- All Implemented Interfaces:
Serializable,CheckpointStorage
public class BatchExecutionCheckpointStorage extends Object implements CheckpointStorage
A simpleCheckpointStoragewhich is used in a BATCH style execution.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BatchExecutionCheckpointStorage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CheckpointStorageAccesscreateCheckpointStorage(org.apache.flink.api.common.JobID jobId)Creates a storage for checkpoints for the given job.CompletedCheckpointStorageLocationresolveCheckpoint(String externalPointer)Resolves the given pointer to a checkpoint/savepoint into a checkpoint location.
-
-
-
Method Detail
-
resolveCheckpoint
public CompletedCheckpointStorageLocation resolveCheckpoint(String externalPointer)
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
public CheckpointStorageAccess createCheckpointStorage(org.apache.flink.api.common.JobID jobId)
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.
-
-