| Interface | Description |
|---|---|
| AsyncFunction<I,O> |
Transforms a value, possibly asynchronously.
|
| CheckedFuture<V,X extends Exception> |
A
CheckedFuture is a ListenableFuture that includes versions
of the get methods that can throw a checked exception. |
| FutureCallback<V> |
A callback for accepting the results of a
Future
computation asynchronously. |
| FutureFallback<V> |
Provides a backup
Future to replace an earlier failed Future. |
| ListenableFuture<V> |
A
Future that accepts completion listeners. |
| ListenableScheduledFuture<V> |
Helper interface to implement both
ListenableFuture and
ScheduledFuture. |
| ListeningExecutorService |
An
ExecutorService that returns ListenableFuture instances. |
| ListeningScheduledExecutorService |
A
ScheduledExecutorService that returns ListenableFuture
instances from its ExecutorService methods. |
| Class | Description |
|---|---|
| AbstractCheckedFuture<V,X extends Exception> |
A delegating wrapper around a
ListenableFuture that adds support for
the AbstractCheckedFuture.checkedGet() and AbstractCheckedFuture.checkedGet(long, TimeUnit) methods. |
| AbstractFuture<V> |
An abstract implementation of the
ListenableFuture interface. |
| AbstractListeningExecutorService |
Abstract
ListeningExecutorService implementation that creates
ListenableFutureTask instances for each Runnable and Callable submitted
to it. |
| Callables |
Static utility methods pertaining to the
Callable interface. |
| ExecutionList |
A list of listeners, each with an associated
Executor, that
guarantees that every Runnable that is added will
be executed after ExecutionList.execute() is called. |
| ForwardingFuture<V> |
A
Future which forwards all its method calls to another future. |
| ForwardingFuture.SimpleForwardingFuture<V> |
A simplified version of
ForwardingFuture where subclasses
can pass in an already constructed Future as the delegate. |
| ForwardingListenableFuture<V> |
A
ListenableFuture which forwards all its method calls to another
future. |
| ForwardingListenableFuture.SimpleForwardingListenableFuture<V> |
A simplified version of
ForwardingListenableFuture where subclasses
can pass in an already constructed ListenableFuture
as the delegate. |
| Futures |
Static utility methods pertaining to the
Future interface. |
| ListenableFutureTask<V> |
A
FutureTask that also implements the ListenableFuture
interface. |
| MoreExecutors | |
| SettableFuture<V> |
A
ListenableFuture whose result may be set by a SettableFuture.set(Object)
or SettableFuture.setException(Throwable) call. |
| ThreadFactoryBuilder |
A ThreadFactory builder, providing any combination of these features:
whether threads should be marked as daemon
threads
a naming format
a thread priority
an uncaught exception
handler
a backing thread factory
|
| Uninterruptibles |
Utilities for treating interruptible operations as uninterruptible.
|
| Exception | Description |
|---|---|
| UncheckedExecutionException |
Unchecked variant of
ExecutionException. |
| Error | Description |
|---|---|
| ExecutionError |
Error variant of ExecutionException. |
Copyright © 2020. All rights reserved.