public static class Callback.Nested extends Callback.Completing
Callback.Completable, Callback.Completing, Callback.Nested
Invocable.InvocationType
Modifier and Type | Field and Description |
---|---|
private Callback |
callback |
__nonBlocking
Constructor and Description |
---|
Nested(Callback.Nested nested) |
Nested(Callback callback) |
Modifier and Type | Method and Description |
---|---|
void |
failed(java.lang.Throwable x)
Callback invoked when the operation fails.
|
Callback |
getCallback() |
Invocable.InvocationType |
getInvocationType() |
void |
succeeded()
Callback invoked when the operation completes.
|
completed
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInvocationType, invokeNonBlocking, isNonBlockingInvocation
private final Callback callback
public Nested(Callback callback)
public Nested(Callback.Nested nested)
public Callback getCallback()
public void succeeded()
Callback
Callback invoked when the operation completes.
succeeded
in interface Callback
succeeded
in class Callback.Completing
Callback.failed(Throwable)
public void failed(java.lang.Throwable x)
Callback
Callback invoked when the operation fails.
failed
in interface Callback
failed
in class Callback.Completing
x
- the reason for the operation failurepublic Invocable.InvocationType getInvocationType()