Interface CancellationHandler
public interface CancellationHandler
Allows a
DeferredFutureTask to onCancel resources when its task is interrupted or cancelled.- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCancel()Invoked when the owning task is interrupted or cancelled.
-
Method Details
-
onCancel
void onCancel()Invoked when the owning task is interrupted or cancelled.
-