See: Description
| Interface | Description |
|---|---|
| FutureCallback<T> |
Callback for accepting the results of a future once the future has completed.
|
| ListenableFuture<T> |
Future where you can add a listener which is called once the future has completed.
|
| ListenableRunnableFuture<T> |
This is a
ListenableFuture which can be executed. |
| Class | Description |
|---|---|
| CancelDebuggingListenableFuture<T> |
Wrapper for a
ListenableFuture to provide enhanced features for debugging the state at
which at which it was canceled. |
| CompletableFutureAdapter |
This class helps in converting between threadly's
ListenableFuture and java's provided
CompletableFuture. |
| ExecuteOnGetFutureTask<T> |
This future task has a special ability to start execution in the thread requesting the
ExecuteOnGetFutureTask.get() IF it has not already started. |
| FutureUtils |
A collection of small utilities for handling futures.
|
| ImmediateFailureListenableFuture<T> |
Completed implementation of
ListenableFuture that will immediately provide a failure
condition. |
| ImmediateResultListenableFuture<T> |
Completed implementation of
ListenableFuture that will immediately return a result. |
| ListenableFutureAdapterTask<T> |
Adapter from java's
Future to threadly's ListenableFuture. |
| ListenableFutureTask<T> |
This is a future which can be executed.
|
| SettableListenableFuture<T> |
This class is designed to be a helper when returning a single result asynchronously.
|
| Enum | Description |
|---|---|
| ListenableFuture.ListenerOptimizationStrategy |
Strategy to use for optimizing listener execution.
|
| Exception | Description |
|---|---|
| CancelDebuggingListenableFuture.FutureProcessingStack |
Throwable that is not thrown, but instead added as a cause to indicate the processing stack
trace at the time of cancellation.
|