Interface OperationExecutor


  • Deprecated. 
    there is no replacement for this interface

    @Deprecated
    public interface OperationExecutor
    An interface describing the execution of a read or a write operation.
    Since:
    3.0
    • Method Detail

      • 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.