Promise.Adapter<U>, Promise.Completable<S>, Promise.Wrapper<W>| Modifier and Type | Method | Description |
|---|---|---|
void |
failed(java.lang.Throwable x) |
Callback invoked when the operation fails.
|
Promise<W> |
getPromise() |
|
void |
succeeded(W result) |
Callback invoked when the operation completes.
|
Promise<W> |
unwrap() |
public void succeeded(W result)
PromiseCallback invoked when the operation completes.
succeeded in interface Promise<W>result - the contextPromise.failed(Throwable)public void failed(java.lang.Throwable x)
PromiseCallback invoked when the operation fails.
Copyright © 1995–2018 Webtide. All rights reserved.