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 classFlusher.FlushCallbackprivate classFlusher.ShutdownResult
-
Field Summary
Fields Modifier and Type Field Description private EndPointendPointprivate IteratingCallbackflushCallbackprivate static LoggerLOGprivate java.util.Queue<Generator.Result>queue
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush(Generator.Result... results)private voidoffer(Generator.Result result)private Generator.Resultpoll()voidshutdown()
-
-
-
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()
-
-