Top Description Interfaces Classes
[default module]

Package org.apache.hc.core5.concurrent


Core concurrency component APIs.

Interface Summary

Modifier and TypeInterface and Description
public interface
Cancellable

A Cancellable represents a process or an operation that can be canceled.

public interface
CancellableDependency

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

public interface
FutureCallback<
the future result type returned by this callback.
T
>

A callback interface that gets invoked upon completion of a java.util.concurrent.Future.

Class Summary

Modifier and TypeClass and Description
public class
BasicFuture<
the future result type of an asynchronous operation.
T
>

Basic implementation of the Future interface.

public abstract class
CallbackContribution<
the future result type of an asynchronous operation.
T
>

Convenience base class for FutureCallbacks that contribute a result of the operation to another FutureCallback.

public class
CompletedFuture<
the future result type of an asynchronous operation.
T
>

Immutable, completed future.

public class
ComplexCancellable

Cancellable that has a dependency on another Cancellable process or operation.

public class
ComplexFuture<
the future result type of an asynchronous operation.
T
>

Future whose result depends on another Cancellable process or operation or another Future.

public class
DefaultThreadFactory

Default ThreadFactory implementation.

public abstract class
FutureContribution<
the future result type of an asynchronous operation.
T
>

Convenience base class for FutureCallbacks that contribute a result of the operation to another BasicFuture.