public abstract class AbstractTransactionNotifier extends RocksCallbackObject
nativeHandle_owningHandle_| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractTransactionNotifier() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
disposeInternal()
Deletes underlying C++ TransactionNotifier pointer.
|
protected void |
disposeInternal(long handle) |
protected long |
initializeNative(long... nativeParameterHandles)
Construct the Native C++ object which will callback
to our object methods
|
abstract void |
snapshotCreated(Snapshot newSnapshot)
Implement this method to receive notification when a snapshot is
requested via
Transaction.setSnapshotOnNextOperation(). |
close, disOwnNativeHandle, isOwningHandlepublic abstract void snapshotCreated(Snapshot newSnapshot)
Transaction.setSnapshotOnNextOperation().newSnapshot - the snapshot that has been created.protected long initializeNative(long... nativeParameterHandles)
RocksCallbackObjectinitializeNative 在类中 RocksCallbackObjectnativeParameterHandles - An array of native handles for any parameter
objects that are needed during constructionprotected void disposeInternal()
Note that this function should be called only after all Transactions referencing the comparator are closed. Otherwise, an undefined behavior will occur.
disposeInternal 在类中 RocksCallbackObjectprotected final void disposeInternal(long handle)