| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Future | |
| public void | handle(AsyncResult<T>
the async result to handle ar)Overrides default io. Succeed or fail this promise with the |
| public void | onFailure(Throwable
the failure failure)Implements io. Signal the failure |
| public void | onSuccess(T
the value value)Implements io. Signal the success. |
| public void | operationComplete(Future<T>
the source future)Future which called this callbackImplements io. Invoked when the operation associated with the |
| PromiseImpl | back to summary |
|---|---|
| public PromiseImpl() Create a promise that hasn't completed yet | |
| PromiseImpl | back to summary |
|---|---|
| public PromiseImpl(ContextInternal context) Create a promise that hasn't completed yet | |
| future | back to summary |
|---|---|
| public Future Implements io.
| |
| handle | back to summary |
|---|---|
| public void handle(AsyncResult<T> ar) Overrides default io. Doc from io. Succeed or fail this promise with the
| |
| onFailure | back to summary |
|---|---|
| public void onFailure(Throwable failure) Implements io. Doc from io. Signal the failure | |
| onSuccess | back to summary |
|---|---|
| public void onSuccess(T value) Implements io. Doc from io. Signal the success.
| |
| operationComplete | back to summary |
|---|---|
| public void operationComplete(Future<T> future) Implements io. Doc from io. Invoked when the operation associated with the | |