Promise.Adapter<C>, Promise.Wrapper<W>
Modifier and Type | Method and Description |
---|---|
void |
failed(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)
Promise
Callback invoked when the operation completes.
succeeded
in interface Promise<W>
result
- the contextPromise.failed(Throwable)
public void failed(Throwable x)
Promise
Callback invoked when the operation fails.
Copyright © 1995-2016 Webtide. All Rights Reserved.