Package org.jboss.as.protocol.mgmt
Interface ActiveOperation.CompletedCallback<T>
- Type Parameters:
T- the result type
- Enclosing interface:
- ActiveOperation<T,
A>
public static interface ActiveOperation.CompletedCallback<T>
A callback indicating when an operation is complete. This is not part of the ActiveOperation API itself,
but rather is often provided by callers that trigger instantiation of an ActiveOperation in a process.
-
Method Summary
-
Method Details
-
completed
The operation completed successfully.- Parameters:
result- the result
-
failed
The operation failed.- Parameters:
e- the failure
-
cancelled
void cancelled()The operation was cancelled before being able to complete.
-