java.util.concurrent.Future
extension.See: Description
Interface | Description |
---|---|
FailureCallback |
Defines the contract for failure callbacks that accept the result of a
ListenableFuture . |
ListenableFuture<T> |
Extends the
Future interface with the capability to accept completion
callbacks. |
ListenableFutureCallback<T> |
Defines the contract for callbacks that accept the result of a
ListenableFuture . |
SuccessCallback<T> |
Defines the contract for success callbacks that accept the result of a
ListenableFuture . |
Class | Description |
---|---|
CompletableToListenableFutureAdapter<T> |
Adapts a
CompletableFuture into a ListenableFuture . |
FutureAdapter<T,S> |
Abstract class that adapts a
Future parameterized over S into a Future parameterized over T. |
ListenableFutureAdapter<T,S> |
Abstract class that adapts a
ListenableFuture parameterized over S into a
ListenableFuture parameterized over T. |
ListenableFutureCallbackRegistry<T> |
Registry for
ListenableFutureCallback instances. |
ListenableFutureTask<T> |
Extension of
FutureTask that implements ListenableFuture . |
SettableListenableFuture<T> |
A
ListenableFuture
whose value can be set via SettableListenableFuture.set(Object) or
SettableListenableFuture.setException(Throwable) . |
SettableListenableFuture.SettableTask<T> |
Enum | Description |
---|---|
FutureAdapter.State | |
ListenableFutureCallbackRegistry.State |
java.util.concurrent.Future
extension.