Callback.Completable, Callback.Nested
Invocable.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, wait
getInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocation
public 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()
Callback
Callback invoked when the operation completes.
succeeded
in interface Callback
Callback.failed(Throwable)
public void failed(java.lang.Throwable x)
Callback
Callback invoked when the operation fails.
protected void recycle()
Copyright © 1995–2023 Webtide. All rights reserved.