The CycleDetectingLockFactory creates ReentrantLock instances and
ReentrantReadWriteLock instances that detect potential deadlock by checking
for…
API Doc A double array in which elements may be updated atomically.
See the java.util.concurrent.atomic package specification
for description of the…
API Doc A double value that may be updated atomically. See the
java.util.concurrent.atomic package specification for
description of the properties of…
API Doc Error variant of java.util.concurrent.ExecutionException. As
with ExecutionException, the error's cause
comes from a failed task, possibly run in…
API Doc A list of listeners, each with an associated Executor, that
guarantees that every Runnable that is added will
be executed after execute() is…
API Doc A callback for accepting the results of a java.util.concurrent.Future
computation asynchronously.
To attach to a ListenableFuture use…
API Doc A Future that accepts completion listeners. Each listener has an
associated executor, and it is invoked using this executor once the future's
…
API Doc A FutureTask that also implements the ListenableFuture
interface. Unlike FutureTask, ListenableFutureTask does not
provide an overrideable done()…
API Doc A ScheduledExecutorService that returns ListenableFuture
instances from its ExecutorService methods. To create an instance
from an existing…
API Doc An ExecutorService that returns ListenableFuture instances. To create an instance
from an existing ExecutorService, call
…
API Doc A synchronization abstraction supporting waiting on arbitrary boolean conditions.
This class is intended as a replacement for ReentrantLock. Code…
API Doc A rate limiter. Conceptually, a rate limiter distributes permits at a
configurable rate. Each acquire() blocks if necessary until a permit is
…
API Doc The lifecycle states of a service.
The ordering of the Service.State enum is defined such that if there is a state transition
from A -> B then…
API Doc An object with an operational state, plus asynchronous startAsync() and
stopAsync() lifecycle methods to transition between states. Example…
API Doc A ListenableFuture whose result may be set by a set(Object),
setException(Throwable) or setFuture(ListenableFuture) call.
It may also be cancelled.
API Doc A TimeLimiter that runs method calls in the background using an
ExecutorService. If the time limit expires for a given method call,
the thread…
API Doc A striped Lock/Semaphore/ReadWriteLock. This offers the underlying lock striping
similar to that of ConcurrentHashMap in a reusable form, and…
API Doc A ThreadFactory builder, providing any combination of these features:
whether threads should be marked as daemon
threads
a naming format
a…
API Doc Produces proxies that impose a time limit on method
calls to the proxied object. For example, to return the value of
target.someMethod(), but…
API Doc Unchecked variant of java.util.concurrent.ExecutionException. As with
ExecutionException, the exception's cause
comes from a failed task, possibly…
API Doc