Interface AsyncOperationExecutor


  • Deprecated. 
    there is no replacement for this interface

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

      • execute

        <T> void execute​(AsyncReadOperation<T> operation,
                         ReadPreference readPreference,
                         SingleResultCallback<T> callback)
        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.
        callback - the callback to be called when the operation has been executed
      • execute

        <T> void execute​(AsyncReadOperation<T> operation,
                         ReadPreference readPreference,
                         ClientSession session,
                         SingleResultCallback<T> callback)
        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.
        session - the session to associate this operation with
        callback - the callback to be called when the operation has been executed
        Since:
        3.6
      • execute

        <T> void execute​(AsyncWriteOperation<T> operation,
                         SingleResultCallback<T> callback)
        Deprecated. 
        Execute the write operation.
        Type Parameters:
        T - the operations result type.
        Parameters:
        operation - the write operation.
        callback - the callback to be called when the operation has been executed
      • execute

        <T> void execute​(AsyncWriteOperation<T> operation,
                         ClientSession session,
                         SingleResultCallback<T> callback)
        Deprecated. 
        Execute the write operation.
        Type Parameters:
        T - the operations result type.
        Parameters:
        operation - the write operation.
        session - the session to associate this operation with
        callback - the callback to be called when the operation has been executed
        Since:
        3.6