Callback.Completable, Callback.Completing, Callback.NestedInvocable.InvocationType__nonBlocking| Constructor and Description |
|---|
Result(ByteBufferPool byteBufferPool,
Callback callback) |
| Modifier and Type | Method and Description |
|---|---|
Generator.Result |
append(java.nio.ByteBuffer buffer,
boolean recycle) |
void |
failed(java.lang.Throwable x)
Callback invoked when the operation fails.
|
java.nio.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, waitgetInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocationpublic Result(ByteBufferPool byteBufferPool, Callback callback)
public Generator.Result append(java.nio.ByteBuffer buffer, boolean recycle)
public Generator.Result join(Generator.Result that)
public java.nio.ByteBuffer[] getByteBuffers()
public void succeeded()
CallbackCallback invoked when the operation completes.
succeeded in interface CallbackCallback.failed(Throwable)public void failed(java.lang.Throwable x)
CallbackCallback invoked when the operation fails.
protected void recycle()
Copyright © 1995–2022 Webtide. All rights reserved.