public abstract class AbstractTransactionNotifier extends RocksCallbackObject
nativeHandle_owningHandle_| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTransactionNotifier() |
| Modifier and Type | Method and Description |
|---|---|
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 in class 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 in class RocksCallbackObjectprotected final void disposeInternal(long handle)