protected static class RocksDBSnapshotStrategyBase.NativeRocksDBSnapshotResources extends Object implements SnapshotResources
SnapshotResources
for native rocksdb snapshot.Modifier and Type | Field and Description |
---|---|
protected RocksDBSnapshotStrategyBase.PreviousSnapshot |
previousSnapshot |
protected SnapshotDirectory |
snapshotDirectory |
protected List<StateMetaInfoSnapshot> |
stateMetaInfoSnapshots |
Constructor and Description |
---|
NativeRocksDBSnapshotResources(SnapshotDirectory snapshotDirectory,
RocksDBSnapshotStrategyBase.PreviousSnapshot previousSnapshot,
List<StateMetaInfoSnapshot> stateMetaInfoSnapshots) |
Modifier and Type | Method and Description |
---|---|
void |
release()
Cleans up the resources after the asynchronous part is done.
|
@Nonnull protected final SnapshotDirectory snapshotDirectory
@Nonnull protected final RocksDBSnapshotStrategyBase.PreviousSnapshot previousSnapshot
@Nonnull protected final List<StateMetaInfoSnapshot> stateMetaInfoSnapshots
public NativeRocksDBSnapshotResources(SnapshotDirectory snapshotDirectory, RocksDBSnapshotStrategyBase.PreviousSnapshot previousSnapshot, List<StateMetaInfoSnapshot> stateMetaInfoSnapshots)
public void release()
SnapshotResources
release
in interface SnapshotResources
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.