Commit(Txn) |
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.
Requires server version 8.0+ |
Commit(CommitListener, Txn) |
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+ |
Commit(Txn, CancellationToken) | Asynchronously attempt to commit the given transaction. Create listener, call asynchronous commit and return task monitor. |