All Classes and Interfaces
Class
Description
Base implementation of
MultipleResults
.Base implementation of
MutableMultipleResults
.Contains a list of
OneValue
.A callback invoked when the
Promise
's state becomes either Promise.State.RESOLVED
or
Promise.State.REJECTED
.Handles global exceptions that are uncaught by the callbacks.
Allows a
DeferredFutureTask
to onCancel resources when its task is interrupted or cancelled.Base implementation of
AllValues
.This default exception handler will log the exception but will not propagate it.
A default implementation that runs deferred tasks using an
ExecutorService
.Base implementation of
MutableAllValues
.Deferred interface to trigger an event (resolve, reject, notify).
Use this as superclass in case you need to be able to return a result and notify progress.
DeferredManager
is especially useful when dealing with asynchronous
tasks, either Runnable
or Callable
objects.An implementation of
Deferred
interface.Use this as superclass in case you need to be able to be able to notify progress.
Promise implementation of the Decorator Pattern.
A callback invoked when the
Promise
's state becomes Promise.State.RESOLVED
.A filter invoked when the
Promise
's state becomes Promise.State.RESOLVED
.A pipe invoked when the
Promise
's state becomes Promise.State.RESOLVED
.A callback invoked when the
Promise
's state becomes Promise.State.REJECTED
.A filter invoked when the
Promise
's state becomes Promise.State.REJECTED
.A pipe invoked when the
Promise
's state becomes Promise.State.REJECTED
.Progress indicating how many promises need to finish (
).
MasterProgress.total
),
and how many had already finish (
invalid reference
#fulfilled
Contains a list of
OneResult
.Contains 2 results, typed V1, V2 wrapped in
OneResult
.Contains 3 results, typed V1, V2, V3 wrapped in
OneResult
.Contains 4 results, typed V1, V2, V3, V4 wrapped in
OneResult
.Contains 5 results, typed V1, V2, V3, V4, V5 wrapped in
OneResult
.Contains a list of
OneResult
, where the first 5 elements are of type V1, V2, V3, V4, V5.Contains 2 instances of
OneResult
.Contains 3 instances of
OneResult
.Contains 4 instances of
OneResult
.Contains 5 instances of
OneResult
.Contains multiple instances of
OneResult
.Contains multiple instances of
OneResult
.Progress update by one of the
Promise
.Progress fail by one of the
Promise
.Progress result by one of the
Promise
.A callback invoked when the
Promise
publishes intermediate results while its state is still
Promise.State.PENDING
.A filter invoked when the
Promise
publishes intermediate results while it is still in the state
+ * Promise.State.PENDING
.A pipe invoked when the
Promise
publishes intermediate results while it is still in the state
Promise.State.PENDING
.Promise interface to observe when some action has occurred on the corresponding
Deferred
object.