Class 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 Detail

      • snapshotDirectory

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

        @Nonnull
        protected final List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots
    • Constructor Detail

      • NativeRocksDBSnapshotResources

        public NativeRocksDBSnapshotResources​(org.apache.flink.runtime.state.SnapshotDirectory snapshotDirectory,
                                              RocksDBSnapshotStrategyBase.PreviousSnapshot previousSnapshot,
                                              List<org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot> stateMetaInfoSnapshots)
    • Method Detail

      • release

        public void release()
        Specified by:
        release in interface org.apache.flink.runtime.state.SnapshotResources