unstreamableParentsShouldFeedHungryChildren() — netty Function Reference
Architecture documentation for the unstreamableParentsShouldFeedHungryChildren() function in WeightedFairQueueByteDistributorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2192db3a_0dd9_2f20_d66c_42b8af66ffe4["unstreamableParentsShouldFeedHungryChildren()"] 67b7550d_3bc6_4a2b_6b2f_618af35d6df8["WeightedFairQueueByteDistributorTest"] 2192db3a_0dd9_2f20_d66c_42b8af66ffe4 -->|defined in| 67b7550d_3bc6_4a2b_6b2f_618af35d6df8 11b51d3d_8188_9502_be8f_cc1ca56136d9["write()"] 2192db3a_0dd9_2f20_d66c_42b8af66ffe4 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9 7bda6a25_cd2a_2145_1a6b_a3c3169cec22["verifyWrite()"] 2192db3a_0dd9_2f20_d66c_42b8af66ffe4 -->|calls| 7bda6a25_cd2a_2145_1a6b_a3c3169cec22 style 2192db3a_0dd9_2f20_d66c_42b8af66ffe4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java lines 487–506
@Test
public void unstreamableParentsShouldFeedHungryChildren() throws Http2Exception {
// Setup the priority tree.
setPriority(STREAM_A, 0, (short) 32, false);
setPriority(STREAM_B, 0, (short) 16, false);
setPriority(STREAM_C, 0, (short) 16, false);
setPriority(STREAM_D, STREAM_A, (short) 16, false);
final int writableBytes = 100;
// Send enough so it can not be completely written out
final int expectedUnsentAmount = 1;
initState(STREAM_D, writableBytes + expectedUnsentAmount, true);
assertTrue(write(writableBytes));
verifyWrite(STREAM_D, writableBytes);
assertFalse(write(expectedUnsentAmount));
verifyWrite(STREAM_D, expectedUnsentAmount);
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does unstreamableParentsShouldFeedHungryChildren() do?
unstreamableParentsShouldFeedHungryChildren() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java.
Where is unstreamableParentsShouldFeedHungryChildren() defined?
unstreamableParentsShouldFeedHungryChildren() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java at line 487.
What does unstreamableParentsShouldFeedHungryChildren() call?
unstreamableParentsShouldFeedHungryChildren() calls 2 function(s): verifyWrite, write.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free