public interface Cancellable
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(CancelException reason)
Cancel this object: unblock it immediately, and set the cancellation reason.
|
CancelException |
getCancelEvent()
Get the reason of the cancellation.
|
boolean |
isCancelled()
Return true if this object is cancelled.
|
boolean isCancelled()
void cancel(CancelException reason)
CancelException getCancelEvent()
Copyright © 2019. All rights reserved.