Package org.apache.hc.core5.concurrent
Interface CancellableDependency
- All Superinterfaces:
Cancellable
- All Known Implementing Classes:
CancellableExecution
,ComplexCancellable
,ComplexFuture
This interface represents
Cancellable
object dependent on another
ongoing process or operation.- Since:
- 5.0
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Determines whether the process or operation has been cancelled.void
setDependency
(Cancellable cancellable) SetsCancellable
dependency on another ongoing process or operation represented byCancellable
.Methods inherited from interface org.apache.hc.core5.concurrent.Cancellable
cancel
-
Method Details
-
setDependency
SetsCancellable
dependency on another ongoing process or operation represented byCancellable
. -
isCancelled
boolean isCancelled()Determines whether the process or operation has been cancelled.- Returns:
- cancelled flag.
-