Package org.eclipse.jetty.fcgi.generator
Class Flusher
- java.lang.Object
-
- org.eclipse.jetty.fcgi.generator.Flusher
-
public class Flusher extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private class
Flusher.FlushCallback
private class
Flusher.ShutdownResult
-
Field Summary
Fields Modifier and Type Field Description private EndPoint
endPoint
private IteratingCallback
flushCallback
private static Logger
LOG
private java.util.Queue<Generator.Result>
queue
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
flush(Generator.Result... results)
private void
offer(Generator.Result result)
private Generator.Result
poll()
void
shutdown()
-
-
-
Field Detail
-
LOG
private static final Logger LOG
-
queue
private final java.util.Queue<Generator.Result> queue
-
flushCallback
private final IteratingCallback flushCallback
-
endPoint
private final EndPoint endPoint
-
-
Constructor Detail
-
Flusher
public Flusher(EndPoint endPoint)
-
-
Method Detail
-
flush
public void flush(Generator.Result... results)
-
offer
private void offer(Generator.Result result)
-
poll
private Generator.Result poll()
-
shutdown
public void shutdown()
-
-