Package org.rocksdb
Class Snapshot
- All Implemented Interfaces:
AutoCloseable
Snapshot of database
-
Field Summary
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_ -
Method Summary
Modifier and TypeMethodDescriptionprotected final voiddisposeInternal(long handle) longReturn the associated sequence number;Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandleMethods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
Method Details
-
getSequenceNumber
public long getSequenceNumber()Return the associated sequence number;- Returns:
- the associated sequence number of this snapshot.
-
disposeInternal
protected final void disposeInternal(long handle) - Specified by:
disposeInternalin classRocksObject
-