public class FrameFlusher
extends org.eclipse.jetty.util.IteratingCallback
org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested| Modifier and Type | Field | Description |
|---|---|---|
static BinaryFrame |
FLUSH_FRAME |
| Constructor | Description |
|---|---|
FrameFlusher(org.eclipse.jetty.io.ByteBufferPool bufferPool,
Generator generator,
org.eclipse.jetty.io.EndPoint endPoint,
int bufferSize,
int maxGather) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
enqueue(Frame frame,
WriteCallback callback,
BatchMode batchMode) |
|
long |
getBytesOut() |
|
long |
getMessagesOut() |
|
protected void |
notifyCallbackFailure(WriteCallback callback,
java.lang.Throwable failure) |
|
protected void |
notifyCallbackSuccess(WriteCallback callback) |
|
void |
onCompleteFailure(java.lang.Throwable failure) |
|
protected org.eclipse.jetty.util.IteratingCallback.Action |
process() |
|
void |
succeeded() |
|
java.lang.String |
toString() |
getInvocationType, getInvocationType, invokeNonBlocking, isNonBlockingInvocationpublic static final BinaryFrame FLUSH_FRAME
public FrameFlusher(org.eclipse.jetty.io.ByteBufferPool bufferPool,
Generator generator,
org.eclipse.jetty.io.EndPoint endPoint,
int bufferSize,
int maxGather)
public boolean enqueue(Frame frame, WriteCallback callback, BatchMode batchMode)
protected org.eclipse.jetty.util.IteratingCallback.Action process()
throws java.lang.Throwable
process in class org.eclipse.jetty.util.IteratingCallbackjava.lang.Throwablepublic void succeeded()
succeeded in class org.eclipse.jetty.util.IteratingCallbackpublic void onCompleteFailure(java.lang.Throwable failure)
onCompleteFailure in class org.eclipse.jetty.util.IteratingCallbackprotected void notifyCallbackSuccess(WriteCallback callback)
protected void notifyCallbackFailure(WriteCallback callback, java.lang.Throwable failure)
public long getMessagesOut()
public long getBytesOut()
public java.lang.String toString()
toString in class org.eclipse.jetty.util.IteratingCallbackCopyright © 1995–2019 Webtide. All rights reserved.