Package org.rocksdb
Class Snapshot
- java.lang.Object
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class Snapshot extends RocksObject
Snapshot of database
-
-
Field Summary
-
Fields inherited from class org.rocksdb.RocksObject
nativeHandle_
-
Fields inherited from class org.rocksdb.AbstractImmutableNativeReference
owningHandle_
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddisposeInternal(long handle)longgetSequenceNumber()Return the associated sequence number;-
Methods inherited from class org.rocksdb.RocksObject
disposeInternal, getNativeHandle
-
Methods inherited from class org.rocksdb.AbstractImmutableNativeReference
close, disOwnNativeHandle, isOwningHandle
-
Methods inherited from class org.rocksdb.AbstractNativeReference
dispose, finalize
-
-
-
-
Method Detail
-
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
-
-