Class AbstractFlowControlStrategy
java.lang.Object
org.eclipse.jetty.http2.AbstractFlowControlStrategy
- All Implemented Interfaces:
 FlowControlStrategy, Dumpable
- Direct Known Subclasses:
 BufferingFlowControlStrategy, SimpleFlowControlStrategy
@ManagedObject
public abstract class AbstractFlowControlStrategy
extends Object
implements FlowControlStrategy, Dumpable
- 
Nested Class Summary
Nested classes/interfaces inherited from interface Dumpable
Dumpable.DumpableContainer, Dumpable.DumpAppendableNested classes/interfaces inherited from interface FlowControlStrategy
FlowControlStrategy.Factory - 
Field Summary
Fields inherited from interface FlowControlStrategy
DEFAULT_WINDOW_SIZE - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptiondump()voiddump(Appendable out, String indent) Dump this object (and children) into an Appendable using the provided indent after any new lines.intintlonglongvoidonDataReceived(Session session, Stream stream, int length) voidonDataSending(Stream stream, int length) voidonDataSent(Stream stream, int length) protected voidonSessionStalled(Session session) protected voidonSessionUnstalled(Session session) voidonStreamCreated(Stream stream) voidonStreamDestroyed(Stream stream) protected voidonStreamStalled(Stream stream) protected voidonStreamUnstalled(Stream stream) voidonWindowUpdate(Session session, Stream stream, WindowUpdateFrame frame) voidreset()protected voidsendWindowUpdate(Session session, Stream stream, List<WindowUpdateFrame> frames) voidupdateInitialStreamWindow(Session session, int initialStreamWindow, boolean local) protected intupdateRecvWindow(Session session, int value) protected intupdateRecvWindow(Stream stream, int value) protected intupdateSendWindow(Session session, int value) protected intupdateSendWindow(Stream stream, int value) protected voidupdateWindow(Session session, Stream stream, WindowUpdateFrame frame) voidwindowUpdate(Session session, Stream stream, WindowUpdateFrame frame) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FlowControlStrategy
onDataConsumed 
- 
Constructor Details
- 
AbstractFlowControlStrategy
public AbstractFlowControlStrategy(int initialStreamSendWindow)  
 - 
 - 
Method Details
- 
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() - 
onStreamCreated
- Specified by:
 onStreamCreatedin interfaceFlowControlStrategy
 - 
onStreamDestroyed
- Specified by:
 onStreamDestroyedin interfaceFlowControlStrategy
 - 
updateInitialStreamWindow
- Specified by:
 updateInitialStreamWindowin interfaceFlowControlStrategy
 - 
onWindowUpdate
- Specified by:
 onWindowUpdatein interfaceFlowControlStrategy
 - 
onDataReceived
- Specified by:
 onDataReceivedin interfaceFlowControlStrategy
 - 
windowUpdate
- Specified by:
 windowUpdatein interfaceFlowControlStrategy
 - 
onDataSending
- Specified by:
 onDataSendingin interfaceFlowControlStrategy
 - 
onDataSent
- Specified by:
 onDataSentin interfaceFlowControlStrategy
 - 
updateWindow
 - 
updateRecvWindow
 - 
updateSendWindow
 - 
updateRecvWindow
 - 
updateSendWindow
 - 
sendWindowUpdate
 - 
onSessionStalled
 - 
onStreamStalled
 - 
onSessionUnstalled
 - 
onStreamUnstalled
 - 
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
 - 
dump
 - 
dump
Description copied from interface:DumpableDump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.- Specified by:
 dumpin interfaceDumpable- Parameters:
 out- The appendable to dump toindent- The indent to apply after any new lines.- Throws:
 IOException- if unable to write to Appendable
 
 -