reprioritizeShouldAdjustOutboundFlow() — netty Function Reference
Architecture documentation for the reprioritizeShouldAdjustOutboundFlow() function in WeightedFairQueueByteDistributorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5b33686d_4c7c_df6e_abe3_78558c65b662["reprioritizeShouldAdjustOutboundFlow()"] 67b7550d_3bc6_4a2b_6b2f_618af35d6df8["WeightedFairQueueByteDistributorTest"] 5b33686d_4c7c_df6e_abe3_78558c65b662 -->|defined in| 67b7550d_3bc6_4a2b_6b2f_618af35d6df8 11b51d3d_8188_9502_be8f_cc1ca56136d9["write()"] 5b33686d_4c7c_df6e_abe3_78558c65b662 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9 7bda6a25_cd2a_2145_1a6b_a3c3169cec22["verifyWrite()"] 5b33686d_4c7c_df6e_abe3_78558c65b662 -->|calls| 7bda6a25_cd2a_2145_1a6b_a3c3169cec22 290143c2_0468_a100_788a_18d9e37200a9["verifyNeverWrite()"] 5b33686d_4c7c_df6e_abe3_78558c65b662 -->|calls| 290143c2_0468_a100_788a_18d9e37200a9 f50f698e_a7cf_748d_c61b_94cfdb852d90["verifyAnyWrite()"] 5b33686d_4c7c_df6e_abe3_78558c65b662 -->|calls| f50f698e_a7cf_748d_c61b_94cfdb852d90 style 5b33686d_4c7c_df6e_abe3_78558c65b662 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java lines 451–473
@Test
public void reprioritizeShouldAdjustOutboundFlow() throws Http2Exception {
// B cannot stream.
initState(STREAM_A, 10, true);
initState(STREAM_C, 10, true);
initState(STREAM_D, 10, true);
// Re-prioritize D as a direct child of the connection.
setPriority(STREAM_D, 0, DEFAULT_PRIORITY_WEIGHT, false);
assertTrue(write(10));
verifyWrite(STREAM_A, 10);
verifyNeverWrite(STREAM_B);
verifyNeverWrite(STREAM_C);
verifyWrite(atMost(1), STREAM_D, 0);
assertFalse(write(20));
verifyAnyWrite(STREAM_A, 1);
verifyNeverWrite(STREAM_B);
verifyWrite(STREAM_C, 10);
verifyWrite(STREAM_D, 10);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does reprioritizeShouldAdjustOutboundFlow() do?
reprioritizeShouldAdjustOutboundFlow() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java.
Where is reprioritizeShouldAdjustOutboundFlow() defined?
reprioritizeShouldAdjustOutboundFlow() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java at line 451.
What does reprioritizeShouldAdjustOutboundFlow() call?
reprioritizeShouldAdjustOutboundFlow() calls 4 function(s): verifyAnyWrite, verifyNeverWrite, verifyWrite, write.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free