Package org.apache.hc.core5.concurrent
Interface Cancellable
-
- All Known Subinterfaces:
CancellableDependency,Command,StreamControl
- All Known Implementing Classes:
BasicFuture,CompletedFuture,ComplexCancellable,ComplexFuture,ExecutableCommand,RequestExecutionCommand,ShutdownCommand,StaleCheckCommand
public interface CancellableACancellablerepresents a process or an operation that can be canceled.- Since:
- 4.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancancel()Cancels the ongoing operation or process.
-