public interface OperationExecutor
| 限定符和类型 | 方法和说明 |
|---|---|
<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.