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 Details

    • snapshotDirectory

      @Nonnull protected final org.apache.flink.runtime.state.SnapshotDirectory snapshotDirectory
    • previousSnapshot

      @Nonnull protected final RocksDBSnapshotStrategyBase.PreviousSnapshot 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:
      release in interface org.apache.flink.runtime.state.SnapshotResources