Class FrameFlusher

  • All Implemented Interfaces:
    org.eclipse.jetty.util.Callback, org.eclipse.jetty.util.thread.Invocable

    public class FrameFlusher
    extends org.eclipse.jetty.util.IteratingCallback
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.jetty.util.IteratingCallback

        org.eclipse.jetty.util.IteratingCallback.Action
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback

        org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested
      • Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable

        org.eclipse.jetty.util.thread.Invocable.InvocationType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static BinaryFrame FLUSH_FRAME  
      • Fields inherited from interface org.eclipse.jetty.util.Callback

        NOOP
      • Fields inherited from interface org.eclipse.jetty.util.thread.Invocable

        __nonBlocking
    • Constructor Summary

      Constructors 
      Constructor Description
      FrameFlusher​(org.eclipse.jetty.io.ByteBufferPool bufferPool, Generator generator, org.eclipse.jetty.io.EndPoint endPoint, int bufferSize, int maxGather)  
    • Field Detail

      • FLUSH_FRAME

        public static final BinaryFrame FLUSH_FRAME
    • Constructor Detail

      • FrameFlusher

        public FrameFlusher​(org.eclipse.jetty.io.ByteBufferPool bufferPool,
                            Generator generator,
                            org.eclipse.jetty.io.EndPoint endPoint,
                            int bufferSize,
                            int maxGather)
    • Method Detail

      • process

        protected org.eclipse.jetty.util.IteratingCallback.Action process()
                                                                   throws java.lang.Throwable
        Specified by:
        process in class org.eclipse.jetty.util.IteratingCallback
        Throws:
        java.lang.Throwable
      • succeeded

        public void succeeded()
        Specified by:
        succeeded in interface org.eclipse.jetty.util.Callback
        Overrides:
        succeeded in class org.eclipse.jetty.util.IteratingCallback
      • onCompleteFailure

        public void onCompleteFailure​(java.lang.Throwable failure)
        Overrides:
        onCompleteFailure in class org.eclipse.jetty.util.IteratingCallback
      • notifyCallbackSuccess

        protected void notifyCallbackSuccess​(WriteCallback callback)
      • notifyCallbackFailure

        protected void notifyCallbackFailure​(WriteCallback callback,
                                             java.lang.Throwable failure)
      • getMessagesOut

        public long getMessagesOut()
      • getBytesOut

        public long getBytesOut()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class org.eclipse.jetty.util.IteratingCallback