Class ForStSnapshotStrategyBase.ForStNativeSnapshotResources
java.lang.Object
org.apache.flink.state.forst.snapshot.ForStSnapshotStrategyBase.ForStNativeSnapshotResources
- All Implemented Interfaces:
org.apache.flink.runtime.state.SnapshotResources
- Enclosing class:
- ForStSnapshotStrategyBase<K,
R extends org.apache.flink.runtime.state.SnapshotResources>
protected static class ForStSnapshotStrategyBase.ForStNativeSnapshotResources
extends Object
implements org.apache.flink.runtime.state.SnapshotResources
A
SnapshotResources for native ForSt snapshot.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionForStNativeSnapshotResources(List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots, long manifestFileSize, List<org.apache.flink.core.fs.Path> liveFiles, org.apache.flink.core.fs.Path manifestFilePath, ForStSnapshotStrategyBase.PreviousSnapshot previousSnapshot, Runnable releaser) -
Method Summary
Modifier and TypeMethodDescriptionvoidrelease()voidsetPreviousSnapshot(ForStSnapshotStrategyBase.PreviousSnapshot previousSnapshot)
-
Field Details
-
stateMetaInfoSnapshots
@Nonnull protected final List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots -
manifestFileSize
protected final long manifestFileSize -
liveFiles
-
manifestFileName
-
manifestFilePath
@Nonnull protected final org.apache.flink.core.fs.Path manifestFilePath -
previousSnapshot
-
releaser
-
-
Constructor Details
-
ForStNativeSnapshotResources
public ForStNativeSnapshotResources(@Nonnull List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots, long manifestFileSize, @Nonnull List<org.apache.flink.core.fs.Path> liveFiles, @Nonnull org.apache.flink.core.fs.Path manifestFilePath, @Nonnull ForStSnapshotStrategyBase.PreviousSnapshot previousSnapshot, @Nonnull Runnable releaser)
-
-
Method Details
-
setPreviousSnapshot
public void setPreviousSnapshot(@Nonnull ForStSnapshotStrategyBase.PreviousSnapshot previousSnapshot) -
getCurrentFileContent
-
release
public void release()- Specified by:
releasein interfaceorg.apache.flink.runtime.state.SnapshotResources
-