Callback.Completable, Callback.NestedInvocable.InvocationType__nonBlocking| Constructor and Description |
|---|
Result(ByteBufferPool byteBufferPool,
Callback callback) |
| Modifier and Type | Method and Description |
|---|---|
Generator.Result |
append(ByteBuffer buffer,
boolean recycle) |
void |
failed(Throwable x)
Callback invoked when the operation fails.
|
ByteBuffer[] |
getByteBuffers() |
Generator.Result |
join(Generator.Result that) |
protected void |
recycle() |
void |
succeeded()
Callback invoked when the operation completes.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasPreferred, getInvocationType, getInvocationType, invokeNonBlocking, invokePreferNonBlocking, invokePreferred, isNonBlockingInvocationpublic Result(ByteBufferPool byteBufferPool, Callback callback)
public Generator.Result append(ByteBuffer buffer, boolean recycle)
public Generator.Result join(Generator.Result that)
public ByteBuffer[] getByteBuffers()
public void succeeded()
CallbackCallback invoked when the operation completes.
succeeded in interface CallbackCallback.failed(Throwable)public void failed(Throwable x)
CallbackCallback invoked when the operation fails.
protected void recycle()
Copyright © 1995–2017 Webtide. All rights reserved.