Class AbstractFlowControlStrategy

    • Field Detail

      • LOG

        protected static final org.eclipse.jetty.util.log.Logger LOG
      • sessionStall

        private final java.util.concurrent.atomic.AtomicLong sessionStall
      • sessionStallTime

        private final java.util.concurrent.atomic.AtomicLong sessionStallTime
      • streamsStalls

        private final java.util.Map<IStream,​java.lang.Long> streamsStalls
      • streamsStallTime

        private final java.util.concurrent.atomic.AtomicLong streamsStallTime
      • initialStreamSendWindow

        private int initialStreamSendWindow
      • initialStreamRecvWindow

        private int initialStreamRecvWindow
    • Constructor Detail

      • AbstractFlowControlStrategy

        public AbstractFlowControlStrategy​(int initialStreamSendWindow)
    • Method Detail

      • getInitialStreamSendWindow

        @ManagedAttribute(value="The initial size of stream\'s flow control send window",
                          readonly=true)
        public int getInitialStreamSendWindow()
      • getInitialStreamRecvWindow

        @ManagedAttribute(value="The initial size of stream\'s flow control receive window",
                          readonly=true)
        public int getInitialStreamRecvWindow()
      • onSessionStalled

        protected void onSessionStalled​(ISession session)
      • onStreamStalled

        protected void onStreamStalled​(IStream stream)
      • onSessionUnstalled

        protected void onSessionUnstalled​(ISession session)
      • onStreamUnstalled

        protected void onStreamUnstalled​(IStream stream)
      • getSessionStallTime

        @ManagedAttribute(value="The time, in milliseconds, that the session flow control has stalled",
                          readonly=true)
        public long getSessionStallTime()
      • getStreamsStallTime

        @ManagedAttribute(value="The time, in milliseconds, that the streams flow control has stalled",
                          readonly=true)
        public long getStreamsStallTime()
      • reset

        @ManagedOperation(value="Resets the statistics",
                          impact="ACTION")
        public void reset()
      • dump

        public java.lang.String dump()
        Specified by:
        dump in interface org.eclipse.jetty.util.component.Dumpable
      • dump

        public void dump​(java.lang.Appendable out,
                         java.lang.String indent)
                  throws java.io.IOException
        Specified by:
        dump in interface org.eclipse.jetty.util.component.Dumpable
        Throws:
        java.io.IOException