Interface Cancellable
- All Known Subinterfaces:
PrioritisedExecutor.PrioritisedTask
public interface Cancellable
Interface specifying that something can be cancelled.
-
Method Summary
-
Method Details
-
cancel
boolean cancel()Tries to cancel this task. If the task is in a stage that is too late to be cancelled, then this function will returnfalse. If the task is already cancelled, then this function returnsfalse. Only when this function successfully stops this task from being completed will it returntrue.
-