public interface OperationExecutor
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | execute(ReadOperation<T> operation,
       ReadPreference readPreference)Execute the read operation with the given read preference. | 
| <T> T | execute(WriteOperation<T> operation)Execute the write operation. | 
<T> T execute(ReadOperation<T> operation, ReadPreference readPreference)
T - the operations result type.operation - the read operation.readPreference - the read preference.<T> T execute(WriteOperation<T> operation)
T - the operations result type.operation - the write operation.