Callback.Adapter, Callback.NonBlocking| Modifier and Type | Field and Description |
|---|---|
static Callback.Adapter |
INSTANCE
Instance of Adapter that can be used when the callback methods need an empty
implementation without incurring in the cost of allocating a new Adapter object.
|
| Constructor and Description |
|---|
Adapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
failed(Throwable x)
Callback invoked when the operation fails.
|
void |
succeeded()
Callback invoked when the operation completes.
|
public static final Callback.Adapter INSTANCE
public void succeeded()
CallbackCallback invoked when the operation completes.
succeeded in interface CallbackCallback.failed(Throwable)Copyright © 1995-2015 Webtide. All Rights Reserved.