IAsyncClient.Commit(CommitListener, Txn) Method
Asynchronously attempt to commit the given transaction. First, the expected
record versions are sent to the server nodes for verification. If all nodes return success,
the transaction is committed. Otherwise, the transaction is aborted.
Schedules the commit command with a channel selector and return.
Another thread will process the command and send the results to the listener.
Requires server version 8.0+
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
void Commit(
CommitListener listener,
Txn txn
)
Parameters
- listener CommitListener
- where to send results
- txn Txn
- transaction