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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.jboss.threads.AsyncFuture<OperationResponse>
getFinalResult()
Get the final result.T
getOperation()
Get the initial operation.org.jboss.dmr.ModelNode
getPreparedResult()
Get the prepared result.boolean
isDone()
Is done.boolean
isFailed()
Check if prepare failed.boolean
isTimedOut()
Check if prepare timed out.-
Methods inherited from interface org.jboss.as.controller.ModelController.OperationTransaction
commit, rollback
-
-
-
-
Method Detail
-
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
-
-