Package org.apache.hc.core5.concurrent
Interface Cancellable
-
- All Known Subinterfaces:
CancellableDependency
,Command
,H2StreamChannel
- All Known Implementing Classes:
AbstractH2StreamMultiplexer.H2StreamChannelImpl
,BasicFuture
,CancellableExecution
,CompletedFuture
,ComplexCancellable
,ComplexFuture
,ExecutableCommand
,LaxConnPool.LeaseRequest
,PingCommand
,RequestExecutionCommand
,ShutdownCommand
public interface Cancellable
ACancellable
represents 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 boolean
cancel()
Cancels the ongoing operation or process.
-