| Interface | Description |
|---|---|
| Deferred<T,F,P> |
A representation of a computation allowing listeners to be notified of state changes.
|
| ExecutablePromise<T,F,P> |
A
Promise that exposes a computational task suitable for execution by an ExecutorService. |
| OnCancel |
Listener for a
Promise entering a Deferred.CANCELLED terminal state. |
| OnComplete | |
| OnProgress<P> |
Listener for a
Deferred.progress(Object) |
| OnReject<F> |
Listener for a
Deferred entering a Deferred.REJECTED state. |
| OnResolve<T> |
Listener for a
Deferred entering a Deferred.RESOLVED state. |
| Promise<T,F,P> |
A read-only representation of a
Deferred allowing listeners to be notified of state changes, though
clients are allowed to attempt to stop the computation using Promise.cancel(boolean). |
| Exception | Description |
|---|---|
| CancelledException | |
| CompletionException | |
| FailureException | |
| ListenerException | |
| RejectedException | |
| ResolvedException |
API of Then promises library.
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in javadoc in this package are to be interpreted as described in RFC 2119.
Copyright © 2014 MachineCode. All rights reserved.