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. |
| ListenableScheduledFuture<T> |
Interface which includes the
ScheduledFuture interface as well as the
ListenableFuture interface. |
| Class | Description |
|---|---|
| AbstractFutureCallbackFailureHandler |
An abstract implementation of
FutureCallback where the result is ignored. |
| AbstractFutureCallbackResultHandler<T> |
An abstract implementation of
FutureCallback where failures are ignored. |
| 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. |
| FutureCallbackExceptionHandlerAdapter |
Class which will map failures provided to this
FutureCallback into a
ExceptionHandler. |
| FutureCallbackFailureHandler |
An implementation of
FutureCallback where the result is ignored and failures are
delegated to a lambda provided at construction. |
| FutureCallbackResultHandler<T> |
An implementation of
FutureCallback where failures are ignored and the result is
delegated to a lambda provided at construction. |
| 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.
|
| RunnableFutureCallbackAdapter<T> |
This class is the adapter between a
FutureCallback and a Runnable. |
| ScheduledFutureDelegate<T> |
Implementation of the
ListenableScheduledFuture interface. |
| SettableListenableFuture<T> |
This class is designed to be a helper when returning a single result asynchronously.
|
| Watchdog |
This class is to guarantee that a given
ListenableFuture is completed within a
timeout. |
| WatchdogCache |
A class which handles a collection of
Watchdog instances. |