Home / Function/ childrenShouldNotSendDataUntilParentBlocked() — netty Function Reference

childrenShouldNotSendDataUntilParentBlocked() — netty Function Reference

Architecture documentation for the childrenShouldNotSendDataUntilParentBlocked() function in WeightedFairQueueByteDistributorTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9d277346_e513_d5ae_06bb_cfc9fd8b51e1["childrenShouldNotSendDataUntilParentBlocked()"]
  67b7550d_3bc6_4a2b_6b2f_618af35d6df8["WeightedFairQueueByteDistributorTest"]
  9d277346_e513_d5ae_06bb_cfc9fd8b51e1 -->|defined in| 67b7550d_3bc6_4a2b_6b2f_618af35d6df8
  11b51d3d_8188_9502_be8f_cc1ca56136d9["write()"]
  9d277346_e513_d5ae_06bb_cfc9fd8b51e1 -->|calls| 11b51d3d_8188_9502_be8f_cc1ca56136d9
  7bda6a25_cd2a_2145_1a6b_a3c3169cec22["verifyWrite()"]
  9d277346_e513_d5ae_06bb_cfc9fd8b51e1 -->|calls| 7bda6a25_cd2a_2145_1a6b_a3c3169cec22
  290143c2_0468_a100_788a_18d9e37200a9["verifyNeverWrite()"]
  9d277346_e513_d5ae_06bb_cfc9fd8b51e1 -->|calls| 290143c2_0468_a100_788a_18d9e37200a9
  style 9d277346_e513_d5ae_06bb_cfc9fd8b51e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java lines 377–392

    @Test
    public void childrenShouldNotSendDataUntilParentBlocked() throws Http2Exception {
        // B cannot stream.
        initState(STREAM_A, 10, true);
        initState(STREAM_C, 10, true);
        initState(STREAM_D, 10, true);

        // Write up to 10 bytes.
        assertTrue(write(10));

        // A is assigned all of the bytes.
        verifyWrite(STREAM_A, 10);
        verifyNeverWrite(STREAM_B);
        verifyWrite(atMost(1), STREAM_C, 0);
        verifyWrite(atMost(1), STREAM_D, 0);
    }

Domain

Subdomains

Frequently Asked Questions

What does childrenShouldNotSendDataUntilParentBlocked() do?
childrenShouldNotSendDataUntilParentBlocked() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java.
Where is childrenShouldNotSendDataUntilParentBlocked() defined?
childrenShouldNotSendDataUntilParentBlocked() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributorTest.java at line 377.
What does childrenShouldNotSendDataUntilParentBlocked() call?
childrenShouldNotSendDataUntilParentBlocked() calls 3 function(s): verifyNeverWrite, verifyWrite, write.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free