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