Package org.jboss.as.controller.remote
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 Summary
Modifier and TypeMethodDescriptionorg.jboss.threads.AsyncFuture<OperationResponse>Get the final result.Get the initial operation.org.jboss.dmr.ModelNodeGet the prepared result.booleanisDone()Is done.booleanisFailed()Check if prepare failed.booleanCheck if prepare timed out.Methods inherited from interface org.jboss.as.controller.ModelController.OperationTransaction
commit, rollback
-
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
-