public abstract class TransactionOperation extends java.lang.Object implements WriteOperation<java.lang.Void>, AsyncWriteOperation<java.lang.Void>
Modifier and Type | Method and Description |
---|---|
java.lang.Void |
execute(WriteBinding binding)
General execute which can return anything of type T
|
void |
executeAsync(AsyncWriteBinding binding,
SingleResultCallback<java.lang.Void> callback)
General execute which can return anything of type T
|
WriteConcern |
getWriteConcern()
Gets the write concern.
|
public WriteConcern getWriteConcern()
public java.lang.Void execute(WriteBinding binding)
WriteOperation
execute
in interface WriteOperation<java.lang.Void>
binding
- the binding to execute in the context ofpublic void executeAsync(AsyncWriteBinding binding, SingleResultCallback<java.lang.Void> callback)
AsyncWriteOperation
executeAsync
in interface AsyncWriteOperation<java.lang.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