| <!DOCTYPE HTML> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (17) on Thu Sep 15 14:13:16 CDT 2022 --> |
| <title>BufferingFlowControlStrategy (Eclipse Jetty API Doc - v11.0.12)</title> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2022-09-15"> |
| <meta name="description" content="declaration: package: org.eclipse.jetty.http2, class: BufferingFlowControlStrategy"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../script-dir/jquery-ui.min.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../jquery-ui.overrides.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-3.5.1.min.js"></script> |
| <script type="text/javascript" src="../../../../script-dir/jquery-ui.min.js"></script> |
| </head> |
| <body class="class-declaration-page"> |
| <script type="text/javascript">var evenRowColor = "even-row-color"; |
| var oddRowColor = "odd-row-color"; |
| var tableTab = "table-tab"; |
| var activeTableTab = "active-table-tab"; |
| var pathtoroot = "../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flex-box"> |
| <header role="banner" class="flex-header"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="top-nav" id="navbar-top"> |
| <div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation links">Skip navigation links</a></div> |
| <ul id="navbar-top-firstrow" class="nav-list" title="Navigation"> |
| <li><a href="../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="nav-bar-cell1-rev">Class</li> |
| <li><a href="class-use/BufferingFlowControlStrategy.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html#class">Help</a></li> |
| </ul> |
| </div> |
| <div class="sub-nav"> |
| <div> |
| <ul class="sub-nav-list"> |
| <li>Summary: </li> |
| <li><a href="#nested-class-summary">Nested</a> | </li> |
| <li><a href="#field-summary">Field</a> | </li> |
| <li><a href="#constructor-summary">Constr</a> | </li> |
| <li><a href="#method-summary">Method</a></li> |
| </ul> |
| <ul class="sub-nav-list"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor-detail">Constr</a> | </li> |
| <li><a href="#method-detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="nav-list-search"><label for="search-input">SEARCH:</label> |
| <input type="text" id="search-input" value="search" disabled="disabled"> |
| <input type="reset" id="reset-button" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <span class="skip-nav" id="skip-navbar-top"></span></nav> |
| </header> |
| <div class="flex-content"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="sub-title"><span class="package-label-in-type">Package</span> <a href="package-summary.html">org.eclipse.jetty.http2</a></div> |
| <h1 title="Class BufferingFlowControlStrategy" class="title">Class BufferingFlowControlStrategy</h1> |
| </div> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">java.lang.Object</a> |
| <div class="inheritance"><a href="AbstractFlowControlStrategy.html" title="class in org.eclipse.jetty.http2">org.eclipse.jetty.http2.AbstractFlowControlStrategy</a> |
| <div class="inheritance">org.eclipse.jetty.http2.BufferingFlowControlStrategy</div> |
| </div> |
| </div> |
| <section class="class-description" id="class-description"> |
| <dl class="notes"> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></code>, <code><a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></code></dd> |
| </dl> |
| <hr> |
| <div class="type-signature"><span class="annotations"><a href="../util/annotation/ManagedObject.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedObject</a> |
| </span><span class="modifiers">public class </span><span class="element-name type-name-label">BufferingFlowControlStrategy</span> |
| <span class="extends-implements">extends <a href="AbstractFlowControlStrategy.html" title="class in org.eclipse.jetty.http2">AbstractFlowControlStrategy</a></span></div> |
| <div class="block"><p>A flow control strategy that accumulates updates and emits window control |
| frames when the accumulated value reaches a threshold.</p> |
| <p>The sender flow control window is represented in the receiver as two |
| buckets: a bigger bucket, initially full, that is drained when data is |
| received, and a smaller bucket, initially empty, that is filled when data is |
| consumed. Only the smaller bucket can refill the bigger bucket.</p> |
| <p>The smaller bucket is defined as a fraction of the bigger bucket.</p> |
| <p>For a more visual representation, see the |
| <a href="http://en.wikipedia.org/wiki/Shishi-odoshi">rocking bamboo fountain</a>, |
| where the bamboo is the smaller bucket and the pool is the bigger bucket.</p> |
| <p>The algorithm works in this way.</p> |
| <p>The initial bigger bucket (BB) capacity is 100, and let's imagine the smaller |
| bucket (SB) being 40% of the bigger bucket: 40.</p> |
| <p>The receiver receives a data frame of 60, so now BB=40; the data frame is |
| passed to the application that consumes 25, so now SB=25. Since SB is not full, |
| no window control frames are emitted.</p> |
| <p>The application consumes other 20, so now SB=45. Since SB is full, its 45 |
| are transferred to BB, which is now BB=85, and a window control frame is sent |
| with delta=45.</p> |
| <p>The application consumes the remaining 15, so now SB=15, and no window |
| control frame is emitted.</p> |
| <p>The <code>bufferRatio</code> controls how often the window control frame is |
| emitted.</p> |
| <p>A <code>bufferRatio=0.0</code> means that a window control frame is emitted |
| every time the application consumes a data frame. This may result in too many |
| window control frames be emitted, but may allow the sender to avoid stalling.</p> |
| <p>A <code>bufferRatio=1.0</code> means that a window control frame is emitted |
| only when the application has consumed a whole window. This minimizes the |
| number of window control frames emitted, but may cause the sender to stall, |
| waiting for the window control frame.</p> |
| <p>The default value is <code>bufferRatio=0.5</code>.</p></div> |
| </section> |
| <section class="summary"> |
| <ul class="summary-list"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li> |
| <section class="nested-class-summary" id="nested-class-summary"> |
| <h2>Nested Class Summary</h2> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.util.component.Dumpable">Nested classes/interfaces inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h2> |
| <code><a href="../util/component/Dumpable.DumpableContainer.html" title="interface in org.eclipse.jetty.util.component">Dumpable.DumpableContainer</a></code></div> |
| <div class="inherited-list"> |
| <h2 id="nested-classes-inherited-from-class-org.eclipse.jetty.http2.FlowControlStrategy">Nested classes/interfaces inherited from interface org.eclipse.jetty.http2.<a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></h2> |
| <code><a href="FlowControlStrategy.Factory.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy.Factory</a></code></div> |
| </section> |
| </li> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <li> |
| <section class="field-summary" id="field-summary"> |
| <h2>Field Summary</h2> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.eclipse.jetty.http2.AbstractFlowControlStrategy">Fields inherited from class org.eclipse.jetty.http2.<a href="AbstractFlowControlStrategy.html" title="class in org.eclipse.jetty.http2">AbstractFlowControlStrategy</a></h3> |
| <code><a href="AbstractFlowControlStrategy.html#LOG">LOG</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.eclipse.jetty.util.component.Dumpable">Fields inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3> |
| <code><a href="../util/component/Dumpable.html#KEY">KEY</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="fields-inherited-from-class-org.eclipse.jetty.http2.FlowControlStrategy">Fields inherited from interface org.eclipse.jetty.http2.<a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></h3> |
| <code><a href="FlowControlStrategy.html#DEFAULT_WINDOW_SIZE">DEFAULT_WINDOW_SIZE</a></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li> |
| <section class="constructor-summary" id="constructor-summary"> |
| <h2>Constructor Summary</h2> |
| <div class="caption"><span>Constructors</span></div> |
| <div class="summary-table two-column-summary"> |
| <div class="table-header col-first">Constructor</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-constructor-name even-row-color"><code><a href="#%3Cinit%3E(float)" class="member-name-link">BufferingFlowControlStrategy</a><wbr>(float bufferRatio)</code></div> |
| <div class="col-last even-row-color"> </div> |
| <div class="col-constructor-name odd-row-color"><code><a href="#%3Cinit%3E(int,float)" class="member-name-link">BufferingFlowControlStrategy</a><wbr>(int initialStreamSendWindow, |
| float bufferRatio)</code></div> |
| <div class="col-last odd-row-color"> </div> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li> |
| <section class="method-summary" id="method-summary"> |
| <h2>Method Summary</h2> |
| <div id="method-summary-table"> |
| <div class="table-tabs" role="tablist" aria-orientation="horizontal"><button id="method-summary-table-tab0" role="tab" aria-selected="true" aria-controls="method-summary-table.tabpanel" tabindex="0" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table', 3)" class="active-table-tab">All Methods</button><button id="method-summary-table-tab2" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab2', 3)" class="table-tab">Instance Methods</button><button id="method-summary-table-tab4" role="tab" aria-selected="false" aria-controls="method-summary-table.tabpanel" tabindex="-1" onkeydown="switchTab(event)" onclick="show('method-summary-table', 'method-summary-table-tab4', 3)" class="table-tab">Concrete Methods</button></div> |
| <div id="method-summary-table.tabpanel" role="tabpanel"> |
| <div class="summary-table three-column-summary" aria-labelledby="method-summary-table-tab0"> |
| <div class="table-header col-first">Modifier and Type</div> |
| <div class="table-header col-second">Method</div> |
| <div class="table-header col-last">Description</div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>float</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getBufferRatio()" class="member-name-link">getBufferRatio</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onDataConsumed(org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.IStream,int)" class="member-name-link">onDataConsumed</a><wbr>(<a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a> session, |
| <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| int length)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onStreamCreated(org.eclipse.jetty.http2.IStream)" class="member-name-link">onStreamCreated</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#onStreamDestroyed(org.eclipse.jetty.http2.IStream)" class="member-name-link">onStreamDestroyed</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>protected void</code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#sendWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.frames.WindowUpdateFrame)" class="member-name-link">sendWindowUpdate</a><wbr>(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a> session, |
| <a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#setBufferRatio(float)" class="member-name-link">setBufferRatio</a><wbr>(float bufferRatio)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></code></div> |
| <div class="col-second even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#toString()" class="member-name-link">toString</a>()</code></div> |
| <div class="col-last even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| <div class="col-first odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div> |
| <div class="col-second odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><a href="#windowUpdate(org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)" class="member-name-link">windowUpdate</a><wbr>(<a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a> session, |
| <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</code></div> |
| <div class="col-last odd-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"> </div> |
| </div> |
| </div> |
| </div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.http2.AbstractFlowControlStrategy">Methods inherited from class org.eclipse.jetty.http2.<a href="AbstractFlowControlStrategy.html" title="class in org.eclipse.jetty.http2">AbstractFlowControlStrategy</a></h3> |
| <code><a href="AbstractFlowControlStrategy.html#dump()">dump</a>, <a href="AbstractFlowControlStrategy.html#dump(java.lang.Appendable,java.lang.String)">dump</a>, <a href="AbstractFlowControlStrategy.html#getInitialStreamRecvWindow()">getInitialStreamRecvWindow</a>, <a href="AbstractFlowControlStrategy.html#getInitialStreamSendWindow()">getInitialStreamSendWindow</a>, <a href="AbstractFlowControlStrategy.html#getSessionStallTime()">getSessionStallTime</a>, <a href="AbstractFlowControlStrategy.html#getStreamsStallTime()">getStreamsStallTime</a>, <a href="AbstractFlowControlStrategy.html#onDataReceived(org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.IStream,int)">onDataReceived</a>, <a href="AbstractFlowControlStrategy.html#onDataSending(org.eclipse.jetty.http2.IStream,int)">onDataSending</a>, <a href="AbstractFlowControlStrategy.html#onDataSent(org.eclipse.jetty.http2.IStream,int)">onDataSent</a>, <a href="AbstractFlowControlStrategy.html#onSessionStalled(org.eclipse.jetty.http2.ISession)">onSessionStalled</a>, <a href="AbstractFlowControlStrategy.html#onSessionUnstalled(org.eclipse.jetty.http2.ISession)">onSessionUnstalled</a>, <a href="AbstractFlowControlStrategy.html#onStreamStalled(org.eclipse.jetty.http2.IStream)">onStreamStalled</a>, <a href="AbstractFlowControlStrategy.html#onStreamUnstalled(org.eclipse.jetty.http2.IStream)">onStreamUnstalled</a>, <a href="AbstractFlowControlStrategy.html#onWindowUpdate(org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">onWindowUpdate</a>, <a href="AbstractFlowControlStrategy.html#reset()">reset</a>, <a href="AbstractFlowControlStrategy.html#updateInitialStreamWindow(org.eclipse.jetty.http2.ISession,int,boolean)">updateInitialStreamWindow</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></h3> |
| <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#clone()" title="class or interface in java.lang" class="external-link">clone</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang" class="external-link">equals</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#finalize()" title="class or interface in java.lang" class="external-link">finalize</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#getClass()" title="class or interface in java.lang" class="external-link">getClass</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#hashCode()" title="class or interface in java.lang" class="external-link">hashCode</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notify()" title="class or interface in java.lang" class="external-link">notify</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#notifyAll()" title="class or interface in java.lang" class="external-link">notifyAll</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait()" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long)" title="class or interface in java.lang" class="external-link">wait</a>, <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#wait(long,int)" title="class or interface in java.lang" class="external-link">wait</a></code></div> |
| <div class="inherited-list"> |
| <h3 id="methods-inherited-from-class-org.eclipse.jetty.util.component.Dumpable">Methods inherited from interface org.eclipse.jetty.util.component.<a href="../util/component/Dumpable.html" title="interface in org.eclipse.jetty.util.component">Dumpable</a></h3> |
| <code><a href="../util/component/Dumpable.html#dumpSelf()">dumpSelf</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="details-list"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li> |
| <section class="constructor-details" id="constructor-detail"> |
| <h2>Constructor Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="<init>(float)"> |
| <h3>BufferingFlowControlStrategy</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">BufferingFlowControlStrategy</span><wbr><span class="parameters">(float bufferRatio)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="<init>(int,float)"> |
| <h3>BufferingFlowControlStrategy</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="element-name">BufferingFlowControlStrategy</span><wbr><span class="parameters">(int initialStreamSendWindow, |
| float bufferRatio)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li> |
| <section class="method-details" id="method-detail"> |
| <h2>Method Details</h2> |
| <ul class="member-list"> |
| <li> |
| <section class="detail" id="getBufferRatio()"> |
| <h3>getBufferRatio</h3> |
| <div class="member-signature"><span class="annotations"><a href="../util/annotation/ManagedAttribute.html" title="annotation in org.eclipse.jetty.util.annotation">@ManagedAttribute</a>("The ratio between the receive buffer and the consume buffer") |
| </span><span class="modifiers">public</span> <span class="return-type">float</span> <span class="element-name">getBufferRatio</span>()</div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="setBufferRatio(float)"> |
| <h3>setBufferRatio</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">setBufferRatio</span><wbr><span class="parameters">(float bufferRatio)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onStreamCreated(org.eclipse.jetty.http2.IStream)"> |
| <h3>onStreamCreated</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onStreamCreated</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="FlowControlStrategy.html#onStreamCreated(org.eclipse.jetty.http2.IStream)">onStreamCreated</a></code> in interface <code><a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="AbstractFlowControlStrategy.html#onStreamCreated(org.eclipse.jetty.http2.IStream)">onStreamCreated</a></code> in class <code><a href="AbstractFlowControlStrategy.html" title="class in org.eclipse.jetty.http2">AbstractFlowControlStrategy</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onStreamDestroyed(org.eclipse.jetty.http2.IStream)"> |
| <h3>onStreamDestroyed</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onStreamDestroyed</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="FlowControlStrategy.html#onStreamDestroyed(org.eclipse.jetty.http2.IStream)">onStreamDestroyed</a></code> in interface <code><a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="AbstractFlowControlStrategy.html#onStreamDestroyed(org.eclipse.jetty.http2.IStream)">onStreamDestroyed</a></code> in class <code><a href="AbstractFlowControlStrategy.html" title="class in org.eclipse.jetty.http2">AbstractFlowControlStrategy</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="onDataConsumed(org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.IStream,int)"> |
| <h3>onDataConsumed</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">onDataConsumed</span><wbr><span class="parameters">(<a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a> session, |
| <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| int length)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="sendWindowUpdate(org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.frames.WindowUpdateFrame)"> |
| <h3>sendWindowUpdate</h3> |
| <div class="member-signature"><span class="modifiers">protected</span> <span class="return-type">void</span> <span class="element-name">sendWindowUpdate</span><wbr><span class="parameters">(<a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a> session, |
| <a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</span></div> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="windowUpdate(org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)"> |
| <h3>windowUpdate</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type">void</span> <span class="element-name">windowUpdate</span><wbr><span class="parameters">(<a href="ISession.html" title="interface in org.eclipse.jetty.http2">ISession</a> session, |
| <a href="IStream.html" title="interface in org.eclipse.jetty.http2">IStream</a> stream, |
| <a href="frames/WindowUpdateFrame.html" title="class in org.eclipse.jetty.http2.frames">WindowUpdateFrame</a> frame)</span></div> |
| <dl class="notes"> |
| <dt>Specified by:</dt> |
| <dd><code><a href="FlowControlStrategy.html#windowUpdate(org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">windowUpdate</a></code> in interface <code><a href="FlowControlStrategy.html" title="interface in org.eclipse.jetty.http2">FlowControlStrategy</a></code></dd> |
| <dt>Overrides:</dt> |
| <dd><code><a href="AbstractFlowControlStrategy.html#windowUpdate(org.eclipse.jetty.http2.ISession,org.eclipse.jetty.http2.IStream,org.eclipse.jetty.http2.frames.WindowUpdateFrame)">windowUpdate</a></code> in class <code><a href="AbstractFlowControlStrategy.html" title="class in org.eclipse.jetty.http2">AbstractFlowControlStrategy</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li> |
| <section class="detail" id="toString()"> |
| <h3>toString</h3> |
| <div class="member-signature"><span class="modifiers">public</span> <span class="return-type"><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html" title="class or interface in java.lang" class="external-link">String</a></span> <span class="element-name">toString</span>()</div> |
| <dl class="notes"> |
| <dt>Overrides:</dt> |
| <dd><code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html#toString()" title="class or interface in java.lang" class="external-link">toString</a></code> in class <code><a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html" title="class or interface in java.lang" class="external-link">Object</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <hr> |
| <p class="legal-copy"><small>Copyright © 1995–2022 <a href="https://webtide.com">Webtide</a>. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |