Package org.eclipse.jetty.fcgi.generator
Class Flusher.ShutdownResult
- java.lang.Object
-
- org.eclipse.jetty.fcgi.generator.Generator.Result
-
- org.eclipse.jetty.fcgi.generator.Flusher.ShutdownResult
-
- Enclosing class:
- Flusher
private class Flusher.ShutdownResult extends 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 Modifier Constructor Description private
ShutdownResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
failed(java.lang.Throwable x)
Callback invoked when the operation fails.private void
shutdown()
void
succeeded()
Callback invoked when the operation completes.-
Methods inherited from class org.eclipse.jetty.fcgi.generator.Generator.Result
append, getByteBuffers, join, recycle
-
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
-
-
-
-
Method Detail
-
succeeded
public void succeeded()
Description copied from interface:Callback
Callback invoked when the operation completes.
- Specified by:
succeeded
in interfaceCallback
- Overrides:
succeeded
in classGenerator.Result
- See Also:
Callback.failed(Throwable)
-
failed
public void failed(java.lang.Throwable x)
Description copied from interface:Callback
Callback invoked when the operation fails.
- Specified by:
failed
in interfaceCallback
- Overrides:
failed
in classGenerator.Result
- Parameters:
x
- the reason for the operation failure
-
shutdown
private void shutdown()
-
-