An abstract implementation of ListenableFuture, intended for advanced users only.
A value object that represents an absolute delay until a task should be invoked.
A scheduler defines the policy for how the AbstractScheduledService should run its
task.
Computes a value, possibly asynchronously.
Transforms a value, possibly asynchronously.
A map containing long values that can be atomically updated.
A step in a pipeline of an asynchronous computation.
An operation that computes a ClosingFuture of a result.
A function from an input to a ClosingFuture of a result.
An operation that computes a result.
A function from an input to a result.
A builder of a ClosingFuture step that is derived from more than one input step.
An operation that returns a ClosingFuture result and may throw an exception.
An operation that returns a result and may throw an exception.
A generic Combiner that lets you use a lambda or method reference to combine two
ClosingFutures.
A function that returns a ClosingFuture when applied to the values of the two futures
passed to #whenAllSucceed(ClosingFuture, ClosingFuture).
A function that returns a value when applied to the values of the two futures passed to
#whenAllSucceed(ClosingFuture, ClosingFuture).
A generic Combiner that lets you use a lambda or method reference to combine three
ClosingFutures.
A function that returns a ClosingFuture when applied to the values of the three
futures passed to #whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture).
A function that returns a value when applied to the values of the three futures passed to
#whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture).
A generic Combiner that lets you use a lambda or method reference to combine four
ClosingFutures.
A function that returns a ClosingFuture when applied to the values of the four
futures passed to #whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture,
ClosingFuture).
A function that returns a value when applied to the values of the four futures passed to
#whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture).
A generic Combiner that lets you use a lambda or method reference to combine five
ClosingFutures.
A function that returns a ClosingFuture when applied to the values of the five
futures passed to #whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture,
ClosingFuture, ClosingFuture).
A function that returns a value when applied to the values of the five futures passed to
#whenAllSucceed(ClosingFuture, ClosingFuture, ClosingFuture, ClosingFuture,
ClosingFuture).
An object that can capture objects to be closed later, when a ClosingFuture pipeline is
done.
An object that can return the value of the ClosingFutures that are passed to
#whenAllComplete(Iterable) or #whenAllSucceed(Iterable).
An object that holds the final result of an asynchronous ClosingFuture operation and
allows the user to close all the closeable objects that were captured during it for later
closing.
Represents an operation that accepts a ValueAndCloser for the last step in a
ClosingFuture pipeline.
The CycleDetectingLockFactory creates ReentrantLock instances and
ReentrantReadWriteLock instances that detect potential deadlock by checking for cycles in lock
acquisition order.
Pre-defined Policy implementations.
Encapsulates the action to be taken when a potential deadlock is encountered.
Represents a detected cycle in lock acquisition ordering.
A CycleDetectingLockFactory.WithExplicitOrdering provides the additional enforcement of
an application-specified ordering of lock acquisitions.
Serializes execution of tasks, somewhat like an "asynchronous synchronized block." Each
#submit enqueued callable will not be submitted to its associated executor until the
previous callable has returned -- and, if the previous callable was an AsyncCallable, not
until the Future it returned is Future#isDone done (successful, failed, or
cancelled).
A ListenableFuture that supports fluent chains of operations.
An executor service which forwards all its method calls to another executor service.
A Future which forwards all its method calls to another future.
A ListenableFuture which forwards all its method calls to another future.
A callback for accepting the results of a java.util.concurrent.Future computation
asynchronously.
A helper to create a new ListenableFuture whose result is generated from a combination
of input futures.
A Future that accepts completion listeners.
A FutureTask that also implements the ListenableFuture interface.
Helper interface to implement both ListenableFuture and ScheduledFuture.
An ExecutorService that returns ListenableFuture instances.
A ScheduledExecutorService that returns ListenableFuture instances from its
ExecutorService methods.
A synchronization abstraction supporting waiting on arbitrary boolean conditions.
A boolean condition for which a thread may wait.
An object with an operational state, plus asynchronous #startAsync() and
#stopAsync() lifecycle methods to transition between states.
A listener for the various state changes that a Service goes through in its lifecycle.
The lifecycle states of a service.
A manager for monitoring and controlling a set of Service services.
A listener for the aggregate state changes of the services that are under management.
A ListenableFuture whose result can be set by a #set(Object),
#setException(Throwable) or #setFuture(ListenableFuture) call.
A TimeLimiter that runs method calls in the background using an ExecutorService.
A striped Lock/Semaphore/ReadWriteLock.
A ThreadFactory builder, providing any combination of these features:
whether threads should be marked as Thread#setDaemon daemon threads
a ThreadFactoryBuilder#setNameFormat naming format
a Thread#setPriority thread priority
an Thread#setUncaughtExceptionHandler uncaught exception handler
a ThreadFactory#newThread backing thread factory
Imposes a time limit on method calls.