Class ForStSnapshotStrategyBase.ForStSnapshotOperation
- java.lang.Object
-
- org.apache.flink.state.forst.snapshot.ForStSnapshotStrategyBase.ForStSnapshotOperation
-
- All Implemented Interfaces:
org.apache.flink.runtime.state.SnapshotStrategy.SnapshotResultSupplier<org.apache.flink.runtime.state.KeyedStateHandle>
- Enclosing class:
- ForStSnapshotStrategyBase<K,R extends org.apache.flink.runtime.state.SnapshotResources>
protected abstract class ForStSnapshotStrategyBase.ForStSnapshotOperation extends Object implements org.apache.flink.runtime.state.SnapshotStrategy.SnapshotResultSupplier<org.apache.flink.runtime.state.KeyedStateHandle>
Common operation in native ForSt snapshot result supplier.
-
-
Field Summary
Fields Modifier and Type Field Description protected longcheckpointIdprotected org.apache.flink.runtime.state.CheckpointStreamFactorycheckpointStreamFactoryprotected org.apache.flink.core.fs.CloseableRegistrytmpResourcesRegistry
-
Constructor Summary
Constructors Modifier Constructor Description protectedForStSnapshotOperation(long checkpointId, org.apache.flink.runtime.state.CheckpointStreamFactory checkpointStreamFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<org.apache.flink.runtime.state.KeyedStateHandle>getLocalSnapshot(org.apache.flink.runtime.state.SnapshotDirectory localBackupDirectory, org.apache.flink.runtime.state.StreamStateHandle localStreamStateHandle, List<org.apache.flink.runtime.state.IncrementalKeyedStateHandle.HandleAndLocalPath> sharedState)
-
-
-
Method Detail
-
getLocalSnapshot
protected Optional<org.apache.flink.runtime.state.KeyedStateHandle> getLocalSnapshot(org.apache.flink.runtime.state.SnapshotDirectory localBackupDirectory, @Nullable org.apache.flink.runtime.state.StreamStateHandle localStreamStateHandle, List<org.apache.flink.runtime.state.IncrementalKeyedStateHandle.HandleAndLocalPath> sharedState) throws IOException
- Throws:
IOException
-
-