Class RocksDBRestoreResult
java.lang.Object
org.apache.flink.state.rocksdb.restore.RocksDBRestoreResult
Entity holding result of RocksDB instance restore.
-
Constructor Summary
ConstructorsConstructorDescriptionRocksDBRestoreResult(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, Runnable asyncCompactTaskAfterRestore) -
Method Summary
Modifier and TypeMethodDescriptionorg.rocksdb.RocksDBgetDb()org.rocksdb.ColumnFamilyHandlelongSortedMap<Long,Collection<org.apache.flink.runtime.state.IncrementalKeyedStateHandle.HandleAndLocalPath>>
-
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
-
getRestoredSstFiles
public SortedMap<Long,Collection<org.apache.flink.runtime.state.IncrementalKeyedStateHandle.HandleAndLocalPath>> getRestoredSstFiles() -
getDefaultColumnFamilyHandle
public org.rocksdb.ColumnFamilyHandle getDefaultColumnFamilyHandle() -
getNativeMetricMonitor
-
getAsyncCompactTaskAfterRestore
-