Package org.jboss.as.controller
Interface Cancellable
public interface Cancellable
A handle for a specific cancellable running operation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CancellableAn empty implementation which does nothing when a cancel is requested. -
Method Summary
-
Field Details
-
NULL
An empty implementation which does nothing when a cancel is requested.
-
-
Method Details
-
cancel
boolean cancel()Attempt to cancel this operation.- Returns:
- false if the task could not be cancelled; true otherwise
-