decrementFlowControlWindow() — netty Function Reference
Architecture documentation for the decrementFlowControlWindow() function in DefaultHttp2RemoteFlowController.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c8771e8a_dd16_cfa8_0f08_61e2eb9b9b47["decrementFlowControlWindow()"] b2e83a60_2b9a_b7db_749c_dd2e3fd31ba6["FlowState"] c8771e8a_dd16_cfa8_0f08_61e2eb9b9b47 -->|defined in| b2e83a60_2b9a_b7db_749c_dd2e3fd31ba6 8ff90321_aa45_54f3_2c52_ad6b0500f375["writeAllocatedBytes()"] 8ff90321_aa45_54f3_2c52_ad6b0500f375 -->|calls| c8771e8a_dd16_cfa8_0f08_61e2eb9b9b47 03b175d5_44cf_3343_f379_b5f478f70548["incrementStreamWindow()"] c8771e8a_dd16_cfa8_0f08_61e2eb9b9b47 -->|calls| 03b175d5_44cf_3343_f379_b5f478f70548 style c8771e8a_dd16_cfa8_0f08_61e2eb9b9b47 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java lines 514–523
private void decrementFlowControlWindow(int bytes) {
try {
int negativeBytes = -bytes;
connectionState.incrementStreamWindow(negativeBytes);
incrementStreamWindow(negativeBytes);
} catch (Http2Exception e) {
// Should never get here since we're decrementing.
throw new IllegalStateException("Invalid window state when writing frame: " + e.getMessage(), e);
}
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does decrementFlowControlWindow() do?
decrementFlowControlWindow() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java.
Where is decrementFlowControlWindow() defined?
decrementFlowControlWindow() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowController.java at line 514.
What does decrementFlowControlWindow() call?
decrementFlowControlWindow() calls 1 function(s): incrementStreamWindow.
What calls decrementFlowControlWindow()?
decrementFlowControlWindow() is called by 1 function(s): writeAllocatedBytes.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free