private class Flusher.ShutdownResult extends Generator.Result
Callback.Completable, Callback.Completing, Callback.Nested
Invocable.InvocationType
__nonBlocking
Modifier | Constructor and Description |
---|---|
private |
ShutdownResult() |
Modifier and Type | Method and Description |
---|---|
void |
failed(java.lang.Throwable x)
Callback invoked when the operation fails.
|
private void |
shutdown() |
void |
succeeded()
Callback invoked when the operation completes.
|
append, getByteBuffers, join, recycle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocation
public void succeeded()
Callback
Callback invoked when the operation completes.
succeeded
in interface Callback
succeeded
in class Generator.Result
Callback.failed(Throwable)
public void failed(java.lang.Throwable x)
Callback
Callback invoked when the operation fails.
failed
in interface Callback
failed
in class Generator.Result
x
- the reason for the operation failureprivate void shutdown()