Top Description Methods
org.apache.hc.core5.concurrent

public Interface CancellableDependency

extends Cancellable
Known Direct Implementers
org.apache.hc.core5.concurrent.ComplexCancellable, org.apache.hc.core5.concurrent.ComplexFuture

This interface represents Cancellable object dependent on another ongoing process or operation.
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

cancelled flag.
isCancelled
()

Determines whether the process or operation has been cancelled.

public void
setDependency(Cancellable cancellable)

Sets Cancellable dependency on another ongoing process or operation represented by Cancellable.

Inherited from org.apache.hc.core5.concurrent.Cancellable:
cancel

Method Detail

isCancelledback to summary
public boolean isCancelled()

Determines whether the process or operation has been cancelled.

Returns:boolean

cancelled flag.

setDependencyback to summary
public void setDependency(Cancellable cancellable)

Sets Cancellable dependency on another ongoing process or operation represented by Cancellable.