public interface AsyncOperationExecutor
|Modifier and Type||Method and Description|
Execute the read operation with the given read preference.
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