| 
 | ||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
          Description
| Interface Summary | |
|---|---|
| AsyncFunction<I,O> | Transforms a value, possibly asynchronously. | 
| CheckedFuture<V,X extends Exception> | A CheckedFutureis aListenableFuturethat includes versions
 of thegetmethods that can throw a checked exception. | 
| FutureCallback<V> | A callback for accepting the results of a Futurecomputation asynchronously. | 
| ListenableFuture<V> | A Futurethat accepts completion listeners. | 
| ListeningExecutorService | An ExecutorServicethat returnsListenableFutureinstances. | 
| ListeningScheduledExecutorService | A ScheduledExecutorServicethat returnsListenableFutureinstances from itsExecutorServicemethods. | 
| Service | An object with an operational state, plus asynchronous Service.start()andService.stop()lifecycle methods to transfer into and out of this state. | 
| TimeLimiter | Produces proxies that impose a time limit on method calls to the proxied object. | 
| Class Summary | |
|---|---|
| AbstractCheckedFuture<V,X extends Exception> | A delegating wrapper around a ListenableFuturethat adds support for
 theAbstractCheckedFuture.checkedGet()andAbstractCheckedFuture.checkedGet(long, TimeUnit)methods. | 
| AbstractExecutionThreadService | Base class for services that can implement AbstractExecutionThreadService.startUp(),AbstractExecutionThreadService.run()andAbstractExecutionThreadService.shutDown()methods. | 
| AbstractFuture<V> | An abstract implementation of the ListenableFutureinterface. | 
| AbstractIdleService | Base class for services that do not need a thread while "running" but may need one during startup and shutdown. | 
| AbstractScheduledService | Base class for services that can implement AbstractScheduledService.startUp()andAbstractScheduledService.shutDown()but while in 
 the "running" state need to perform a periodic task. | 
| AbstractScheduledService.CustomScheduler | A AbstractScheduledService.Schedulerthat provides a convenient way for theAbstractScheduledServiceto 
 use a dynamically changing schedule. | 
| AbstractScheduledService.CustomScheduler.Schedule | A value object that represents an absolute delay until a task should be invoked. | 
| AbstractScheduledService.Scheduler | A scheduler defines the policy for how the AbstractScheduledServiceshould run its 
 task. | 
| AbstractService | Base class for implementing services that can handle AbstractService.doStart()andAbstractService.doStop()requests, responding to them withAbstractService.notifyStarted()andAbstractService.notifyStopped()callbacks. | 
| AtomicDouble | A doublevalue that may be updated atomically. | 
| AtomicDoubleArray | A doublearray in which elements may be updated atomically. | 
| AtomicLongMap<K> | A map containing longvalues that can be atomically updated. | 
| Atomics | Static utility methods pertaining to classes in the java.util.concurrent.atomicpackage. | 
| Callables | Static utility methods pertaining to the Callableinterface. | 
| ExecutionList | A list of listeners, each with an associated Executor, that
 guarantees that everyRunnablethat is added will
 be executed afterExecutionList.execute()is called. | 
| FakeTimeLimiter | A TimeLimiter implementation which actually does not attempt to limit time at all. | 
| ForwardingBlockingQueue<E> | A BlockingQueuewhich forwards all its method calls to anotherBlockingQueue. | 
| ForwardingCheckedFuture<V,X extends Exception> | A future which forwards all its method calls to another future. | 
| ForwardingCheckedFuture.SimpleForwardingCheckedFuture<V,X extends Exception> | A simplified version of ForwardingCheckedFuturewhere subclasses
 can pass in an already constructedCheckedFutureas the delegate. | 
| ForwardingExecutorService | An executor service which forwards all its method calls to another executor service. | 
| ForwardingFuture<V> | A ForwardingFuture.SimpleForwardingFuturewhich forwards all its method calls to another future. | 
| ForwardingFuture.SimpleForwardingFuture<V> | A simplified version of ForwardingFuturewhere subclasses
 can pass in an already constructedFutureas the delegate. | 
| ForwardingListenableFuture<V> | A ForwardingListenableFuture.SimpleForwardingListenableFuturewhich forwards all its method calls to another
 future. | 
| ForwardingListenableFuture.SimpleForwardingListenableFuture<V> | A simplified version of ForwardingListenableFuturewhere subclasses
 can pass in an already constructedListenableFutureas the delegate. | 
| ForwardingListeningExecutorService | A listening executor service which forwards all its method calls to another listening executor service. | 
| ForwardingService | A Servicethat forwards all method calls to another service. | 
| Futures | Static utility methods pertaining to the Futureinterface. | 
| JdkFutureAdapters | Utilities necessary for working with libraries that supply plain Futureinstances. | 
| ListenableFutureTask<V> | A FutureTaskthat also implements theListenableFutureinterface. | 
| Monitor | A synchronization abstraction supporting waiting on arbitrary boolean conditions. | 
| Monitor.Guard | A boolean condition for which a thread may wait. | 
| MoreExecutors | Factory and utility methods for Executor,ExecutorService, andThreadFactory. | 
| SettableFuture<V> | A ListenableFuturewhose result may be set by aSettableFuture.set(Object)orSettableFuture.setException(Throwable)call. | 
| SimpleTimeLimiter | A TimeLimiter that runs method calls in the background using an ExecutorService. | 
| 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
 
 If no backing thread factory is provided, a default backing thread factory is
 used as if by calling setThreadFactory(Executors.defaultThreadFactory()). | 
| UncaughtExceptionHandlers | Factories for Thread.UncaughtExceptionHandlerinstances. | 
| Uninterruptibles | Utilities for treating interruptible operations as uninterruptible. | 
| Enum Summary | |
|---|---|
| Service.State | The lifecycle states of a service. | 
| Exception Summary | |
|---|---|
| UncheckedExecutionException | Unchecked variant of ExecutionException. | 
| UncheckedTimeoutException | Unchecked version of TimeoutException. | 
| Error Summary | |
|---|---|
| ExecutionError | Errorvariant ofExecutionException. | 
Concurrency utilities.
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.
| 
 | ||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||