public interface Cancellable
Modifier and Type | Method and Description |
---|---|
boolean |
cancel(java.lang.Exception reason)
Attempts to cancel the object with the given reason.
|
boolean cancel(java.lang.Exception reason)
false
.reason
- an Exception indicating why this object was cancelledtrue
iff the object was successfully cancelled as a result
of this invocation.