Package org.eclipse.jetty.fcgi.generator
Class Generator.Result
- java.lang.Object
-
- org.eclipse.jetty.fcgi.generator.Generator.Result
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback
Callback.Completable, Callback.Completing, Callback.Nested
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
-
Constructor Summary
Constructors Constructor Description Result(ByteBufferPool byteBufferPool, Callback callback)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.thread.Invocable
getInvocationType
-
-
-
-
Constructor Detail
-
Result
public Result(ByteBufferPool byteBufferPool, Callback callback)
-
-
Method Detail
-
append
public Generator.Result append(java.nio.ByteBuffer buffer, boolean recycle)
-
join
public Generator.Result join(Generator.Result that)
-
getByteBuffers
public java.nio.ByteBuffer[] getByteBuffers()
-
succeeded
public void succeeded()
Description copied from interface:Callback
Callback invoked when the operation completes.
- Specified by:
succeeded
in interfaceCallback
- See Also:
Callback.failed(Throwable)
-
failed
public void failed(java.lang.Throwable x)
Description copied from interface:Callback
Callback invoked when the operation fails.
-
recycle
protected void recycle()
-
-