Class RocksDBRestoreResult

java.lang.Object
org.apache.flink.state.rocksdb.restore.RocksDBRestoreResult

public class RocksDBRestoreResult extends Object
Entity holding result of RocksDB instance restore.
  • Constructor Details

    • RocksDBRestoreResult

      public RocksDBRestoreResult(org.rocksdb.RocksDB db, org.rocksdb.ColumnFamilyHandle defaultColumnFamilyHandle, RocksDBNativeMetricMonitor nativeMetricMonitor, long lastCompletedCheckpointId, UUID backendUID, SortedMap<Long,Collection<org.apache.flink.runtime.state.IncrementalKeyedStateHandle.HandleAndLocalPath>> restoredSstFiles, @Nullable Runnable asyncCompactTaskAfterRestore)
  • Method Details

    • getDb

      public org.rocksdb.RocksDB getDb()
    • getLastCompletedCheckpointId

      public long getLastCompletedCheckpointId()
    • getBackendUID

      public UUID getBackendUID()
    • getRestoredSstFiles

      public SortedMap<Long,Collection<org.apache.flink.runtime.state.IncrementalKeyedStateHandle.HandleAndLocalPath>> getRestoredSstFiles()
    • getDefaultColumnFamilyHandle

      public org.rocksdb.ColumnFamilyHandle getDefaultColumnFamilyHandle()
    • getNativeMetricMonitor

      public RocksDBNativeMetricMonitor getNativeMetricMonitor()
    • getAsyncCompactTaskAfterRestore

      public Optional<Runnable> getAsyncCompactTaskAfterRestore()