Interface TransactionalProtocolClient.PreparedOperation<T extends TransactionalProtocolClient.Operation>

Type Parameters:
T - the operation type
All Superinterfaces:
ModelController.OperationTransaction
All Known Implementing Classes:
BlockingQueueOperationListener.FailedOperation, BlockingQueueOperationListener.SucceededOperation
Enclosing interface:
TransactionalProtocolClient

public static interface TransactionalProtocolClient.PreparedOperation<T extends TransactionalProtocolClient.Operation> extends ModelController.OperationTransaction
The prepared result.
  • Method Details

    • getOperation

      T getOperation()
      Get the initial operation.
      Returns:
      the operation
    • getPreparedResult

      org.jboss.dmr.ModelNode getPreparedResult()
      Get the prepared result.
      Returns:
      the prepared result
    • isFailed

      boolean isFailed()
      Check if prepare failed.
      Returns:
      whether the operation failed
    • isTimedOut

      boolean isTimedOut()
      Check if prepare timed out.
      Returns:
      whether the operation failed due to timeout
    • isDone

      boolean isDone()
      Is done.
      Returns:
      whether the operation is complete (done or failed).
    • getFinalResult

      org.jboss.threads.AsyncFuture<OperationResponse> getFinalResult()
      Get the final result.
      Returns:
      the final result