CheckedFuture is a
ListenableFuture that includes versions of the
get methods that can throw a checked exception.
Future computation asynchronously.
Future to replace an earlier failed
Future.
Future that accepts completion listeners.
ListenableFuture and
ScheduledFuture.
ExecutorService that returns
ListenableFuture instances.
ScheduledExecutorService that returns
ListenableFuture instances from its
ExecutorService methods.
Service.startAsync() and
Service.stopAsync() lifecycle methods to transition between states.
ListenableFuture that adds support for the
AbstractCheckedFuture.checkedGet() and
AbstractCheckedFuture.checkedGet(long, TimeUnit) methods.
AbstractExecutionThreadService.startUp() ,
AbstractExecutionThreadService.run() and
AbstractExecutionThreadService.shutDown() methods.
ListenableFuture interface.
ListeningExecutorService implementation that creates
ListenableFutureTask instances for each
Runnable and
Callable submitted to it.
AbstractScheduledService.startUp() and
AbstractScheduledService.shutDown() but while in the "running" state need to perform a periodic task.
AbstractScheduledService.Scheduler that provides a convenient way for the
AbstractScheduledService to use a dynamically changing schedule.
AbstractScheduledService should run its task.
AbstractService.doStart() and
AbstractService.doStop() requests, responding to them with
AbstractService.notifyStarted() and
AbstractService.notifyStopped() callbacks.
double value that may be updated atomically.
double array in which elements may be updated atomically.
long values that can be atomically updated.
java.util.concurrent.atomic package.
CycleDetectingLockFactory creates
ReentrantLock instances and
ReentrantReadWriteLock instances that detect potential deadlock by checking for cycles in lock acquisition order.
CycleDetectingLockFactory.WithExplicitOrdering provides the additional enforcement of an application-specified ordering of lock acquisitions.
Executor, that guarantees that every
Runnable that is
added will be executed after
ExecutionList.execute() is called.
BlockingQueue which forwards all its method calls to another
BlockingQueue.
ForwardingCheckedFuture where subclasses can pass in an already constructed
CheckedFuture as the delegate.
Future which forwards all its method calls to another future.
ForwardingFuture where subclasses can pass in an already constructed
Future as the delegate.
ListenableFuture which forwards all its method calls to another future.
ForwardingListenableFuture where subclasses can pass in an already constructed
ListenableFuture as the delegate.
Future instances.
FutureTask that also implements the
ListenableFuture interface.
Service goes through in its lifecycle.
ListenableFuture whose result may be set by a
SettableFuture.set(Object) or
SettableFuture.setException(Throwable) call.
ExecutorService.
Lock/Semaphore/ReadWriteLock.
Thread.UncaughtExceptionHandler instances.
CycleDetectingLockFactory.Policy implementations.
ExecutionException.
TimeoutException.
Error variant of
ExecutionException.
Commonly used types include ListenableFuture and Service.
Commonly used utilities include Futures, MoreExecutors, and ThreadFactoryBuilder.
This package is a part of the open-source Guava libraries.