Promise.Adapter<U>, Promise.Completable<S>, Promise.Wrapper<W>
Constructor and Description |
---|
Adapter() |
Modifier and Type | Method and Description |
---|---|
void |
failed(Throwable x)
Callback invoked when the operation fails.
|
void |
succeeded(U result)
Callback invoked when the operation completes.
|
Copyright © 1995–2016 Mort Bay Consulting. All rights reserved.