Class RocksDBSnapshotStrategyBase.NativeRocksDBSnapshotResources
java.lang.Object
org.apache.flink.state.rocksdb.snapshot.RocksDBSnapshotStrategyBase.NativeRocksDBSnapshotResources
- All Implemented Interfaces:
org.apache.flink.runtime.state.SnapshotResources
- Enclosing class:
- RocksDBSnapshotStrategyBase<K,
R extends org.apache.flink.runtime.state.SnapshotResources>
protected static class RocksDBSnapshotStrategyBase.NativeRocksDBSnapshotResources
extends Object
implements org.apache.flink.runtime.state.SnapshotResources
A
SnapshotResources for native rocksdb snapshot.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RocksDBSnapshotStrategyBase.PreviousSnapshotprotected final org.apache.flink.runtime.state.SnapshotDirectoryprotected final List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> -
Constructor Summary
ConstructorsConstructorDescriptionNativeRocksDBSnapshotResources(org.apache.flink.runtime.state.SnapshotDirectory snapshotDirectory, RocksDBSnapshotStrategyBase.PreviousSnapshot previousSnapshot, List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots) -
Method Summary
-
Field Details
-
snapshotDirectory
@Nonnull protected final org.apache.flink.runtime.state.SnapshotDirectory snapshotDirectory -
previousSnapshot
-
stateMetaInfoSnapshots
@Nonnull protected final List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots
-
-
Constructor Details
-
NativeRocksDBSnapshotResources
public NativeRocksDBSnapshotResources(org.apache.flink.runtime.state.SnapshotDirectory snapshotDirectory, RocksDBSnapshotStrategyBase.PreviousSnapshot previousSnapshot, List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots)
-
-
Method Details
-
release
public void release()- Specified by:
releasein interfaceorg.apache.flink.runtime.state.SnapshotResources
-