@Private
public class Canceler
extends java.lang.Object
| Constructor | Description |
|---|---|
Canceler() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
cancel(java.lang.String reason) |
Requests that the current operation be canceled if it is still running.
|
java.lang.String |
getCancellationReason() |
|
boolean |
isCancelled() |
public void cancel(java.lang.String reason)
reason - the reason why cancellation is requestedpublic boolean isCancelled()
public java.lang.String getCancellationReason()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.