public interface AsyncOperationExecutor
| Modifier and Type | Method and Description |
|---|---|
<T> void |
execute(AsyncReadOperation<T> operation,
ReadPreference readPreference,
SingleResultCallback<T> callback)
Execute the read operation with the given read preference.
|
<T> void |
execute(AsyncWriteOperation<T> operation,
SingleResultCallback<T> callback)
Execute the write operation.
|
<T> void execute(AsyncReadOperation<T> operation, ReadPreference readPreference, SingleResultCallback<T> callback)
T - the operations result type.operation - the read operation.readPreference - the read preference.callback - the callback to be called when the operation has been executed<T> void execute(AsyncWriteOperation<T> operation, SingleResultCallback<T> callback)
T - the operations result type.operation - the write operation.callback - the callback to be called when the operation has been executed