public interface Cancellable
Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancels this Cancellable and returns true if that was successful.
|
boolean |
isCancelled()
Returns true if and only if this Cancellable has been successfully cancelled
|
boolean cancel()
Java & Scala API
boolean isCancelled()
Java & Scala API