All Classes and Interfaces
Class
Description
Represents an asynchronous computation.
Defines utility methods to help with asynchronous tasks relying on
CompletableFuture or CompletionStage.Defines static helper methods to wait for a cancellation request instead of
thread interruption.
Contains static helper methods and fields related cancellation.
Defines an interface to cancel an asynchronously executing task.
Defines an interface for linked
CancellationController
and CancellationToken objects.Defines an interface to detect cancellation requests.
An
ListenerManager implementation which creates a copy of the
currently registered listeners when dispatching events.Defines event which triggers after a counter reaches zero.
Defines an interface to invoke specific kinds of event handlers.
Contains static utility methods for listener dispatching.
Defines a
ListenerRef forwarding its calls to another
ListenerRef which is specified after construction time.Defines a generic interface to wait for an event to occur or return before
the given timeout elapses.
Defines a generic task which can be canceled by interrupting the thread
executing the task.
Defines a generic interface to wait for an event to occur.
Defines a
ListenerRegistry which allows events to be dispatched to
registered listeners directly.Defines a reference of an event handler which has been registered to be
notified of a certain event.
Defines static utility methods for
listener registries.Defines a collection of event listeners which can be notified of events in an
implementation dependent way.
A
ListenerRegistry implementation which will automatically unregister
listeners once they have been notified by an onEvent call.Thrown by tasks when they detect that they were requested to be canceled.
Defines an exception for when an operation was canceled due to timing out.
Defines a
SimpleListenerRegistry which is backed by another
SimpleListenerRegistry.Defines a task which can repeatedly be executed by a
ScheduledExecutorService and this task controls if it is needed
to be rescheduled.Defines the interface to register event listeners to be notified later in an
implementation dependent way.
Defines that an asynchronously executed task has thrown an unchecked
exception.
Defines static methods to return simple, convenient task related instances.
Defines a simple queue which can be stopped from accepting any new elements.
Defines factory methods for
TerminableQueue.Thrown if a queue was shut down, and still trying to add or remove element.
Defines a
ListenerRef which can be used to unregister the associated
listener and wait until it can be ensured that the listener is not going to
be executed anymore.Defines thread-safe signal for which threads can wait.