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 BinaryFrameFLUSH_FRAMEDeprecated.-
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 booleanenqueue(Frame frame, WriteCallback callback, BatchMode batchMode)Deprecated.longgetBytesOut()Deprecated.longgetMessagesOut()Deprecated.voidonCompleteFailure(java.lang.Throwable failure)Deprecated.voidsucceeded()Deprecated.Invoked when the sub task succeeds.java.lang.StringtoString()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:IteratingCallbackInvoked when the sub task succeeds. Subclasses that override this method must always remember to callsuper.succeeded().- Specified by:
succeededin interfaceCallback- Overrides:
succeededin 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:
toStringin classIteratingCallback
-
-