Class FrameFlusher
- java.lang.Object
-
- org.eclipse.jetty.util.IteratingCallback
-
- org.eclipse.jetty.websocket.common.io.FrameFlusher
-
@Deprecated(since="2021-05-27") public class FrameFlusher extends IteratingCallback
Deprecated.
-
-
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 Modifier and Type Field Description static BinaryFrame
FLUSH_FRAME
Deprecated.-
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
-
Constructor Summary
Constructors Constructor Description FrameFlusher(ByteBufferPool bufferPool, Generator generator, EndPoint endPoint, int bufferSize, int maxGather)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
enqueue(Frame frame, WriteCallback callback, BatchMode batchMode)
Deprecated.long
getBytesOut()
Deprecated.long
getMessagesOut()
Deprecated.void
onCompleteFailure(java.lang.Throwable failure)
Deprecated.void
succeeded()
Deprecated.Invoked when the sub task succeeds.java.lang.String
toString()
Deprecated.-
Methods inherited from class org.eclipse.jetty.util.IteratingCallback
close, failed, isClosed, isFailed, isSucceeded, iterate, reset
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.jetty.util.thread.Invocable
getInvocationType
-
-
-
-
Field Detail
-
FLUSH_FRAME
public static final BinaryFrame FLUSH_FRAME
Deprecated.
-
-
Constructor Detail
-
FrameFlusher
public FrameFlusher(ByteBufferPool bufferPool, Generator generator, EndPoint endPoint, int bufferSize, int maxGather)
Deprecated.
-
-
Method Detail
-
enqueue
public boolean enqueue(Frame frame, WriteCallback callback, BatchMode batchMode)
Deprecated.
-
succeeded
public void succeeded()
Deprecated.Description copied from class:IteratingCallback
Invoked when the sub task succeeds. Subclasses that override this method must always remember to callsuper.succeeded()
.- Specified by:
succeeded
in interfaceCallback
- Overrides:
succeeded
in classIteratingCallback
- See Also:
Callback.failed(Throwable)
-
onCompleteFailure
public void onCompleteFailure(java.lang.Throwable failure)
Deprecated.
-
getMessagesOut
public long getMessagesOut()
Deprecated.
-
getBytesOut
public long getBytesOut()
Deprecated.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classIteratingCallback
-
-