| Package | Description |
|---|---|
| org.rocksdb |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
RocksDB.getSnapshot()
Return a handle to the current DB state.
|
Snapshot |
Transaction.getSnapshot()
Returns the Snapshot created by the last call to
Transaction.setSnapshot(). |
Snapshot |
ReadOptions.snapshot()
Returns the currently assigned Snapshot instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RocksDB.releaseSnapshot(Snapshot snapshot)
Release a previously acquired snapshot.
|
ReadOptions |
ReadOptions.setSnapshot(Snapshot snapshot)
If "snapshot" is non-nullptr, read as of the supplied snapshot
(which must belong to the DB that is being read and which must
not have been released).
|
abstract void |
AbstractTransactionNotifier.snapshotCreated(Snapshot newSnapshot)
Implement this method to receive notification when a snapshot is
requested via
Transaction.setSnapshotOnNextOperation(). |
Copyright © 2021. All rights reserved.