public class CommitTransactionOperation extends TransactionOperation
| Constructor and Description |
|---|
CommitTransactionOperation(WriteConcern writeConcern)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Void |
execute(WriteBinding binding)
General execute which can return anything of type T
|
void |
executeAsync(AsyncWriteBinding binding,
SingleResultCallback<Void> callback)
General execute which can return anything of type T
|
getWriteConcernpublic CommitTransactionOperation(WriteConcern writeConcern)
writeConcern - the write concernpublic Void execute(WriteBinding binding)
WriteOperationexecute in interface WriteOperation<Void>execute in class TransactionOperationbinding - the binding to execute in the context ofpublic void executeAsync(AsyncWriteBinding binding, SingleResultCallback<Void> callback)
AsyncWriteOperationexecuteAsync in interface AsyncWriteOperation<Void>executeAsync in class TransactionOperationbinding - the binding to execute in the context ofcallback - the callback to be called when the operation has been executedCopyright © 2010 - 2020 Adobe. All Rights Reserved