Interface OperationExecutor


@Deprecated public interface OperationExecutor
Deprecated.
there is no replacement for this interface
An interface describing the execution of a read or a write operation.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    execute(ReadOperation<T> operation, ReadPreference readPreference)
    Deprecated.
    Execute the read operation with the given read preference.
    <T> T
    execute(WriteOperation<T> operation)
    Deprecated.
    Execute the write operation.
  • Method Details

    • execute

      <T> T execute(ReadOperation<T> operation, ReadPreference readPreference)
      Deprecated.
      Execute the read operation with the given read preference.
      Type Parameters:
      T - the operations result type.
      Parameters:
      operation - the read operation.
      readPreference - the read preference.
      Returns:
      the result of executing the operation.
    • execute

      <T> T execute(WriteOperation<T> operation)
      Deprecated.
      Execute the write operation.
      Type Parameters:
      T - the operations result type.
      Parameters:
      operation - the write operation.
      Returns:
      the result of executing the operation.