public abstract class TransactionOperation extends Object implements WriteOperation<Void>, AsyncWriteOperation<Void>
| 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
|
WriteConcern |
getWriteConcern()
Gets the write concern.
|
public WriteConcern getWriteConcern()
public Void execute(WriteBinding binding)
WriteOperationexecute in interface WriteOperation<Void>binding - the binding to execute in the context ofpublic void executeAsync(AsyncWriteBinding binding, SingleResultCallback<Void> callback)
AsyncWriteOperationexecuteAsync in interface AsyncWriteOperation<Void>binding - 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