public interface ExternalTaskCancellationHandler
| Modifier and Type | Method and Description |
|---|---|
void |
handleCancellation(Throwable cause)
Called when cancellation of the external task is requested.
|
void handleCancellation(Throwable cause)
ExternalTaskCompletionHandle.complete() to report task successful
completion or cancellation. Use
ExternalTaskCompletionHandle.fail(Throwable) to report task
completion or cancellation failure.cause - the reason for the cancellation. May be null.