Home / Function/ testRemoveAllStreams() — netty Function Reference

testRemoveAllStreams() — netty Function Reference

Architecture documentation for the testRemoveAllStreams() function in DefaultHttp2ConnectionTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  21cec8eb_d409_f934_f379_e9a8fc38cf21["testRemoveAllStreams()"]
  8ad19b2d_97df_9c7f_e36e_ed43457889f2["DefaultHttp2ConnectionTest"]
  21cec8eb_d409_f934_f379_e9a8fc38cf21 -->|defined in| 8ad19b2d_97df_9c7f_e36e_ed43457889f2
  a956dabb_cdd6_7947_79d5_f8696e11c53b["removeAllStreamsWithEmptyStreams()"]
  a956dabb_cdd6_7947_79d5_f8696e11c53b -->|calls| 21cec8eb_d409_f934_f379_e9a8fc38cf21
  450e6ab6_7ee2_3aff_5b8e_ee7617ab2d67["removeAllStreamsWithJustOneLocalStream()"]
  450e6ab6_7ee2_3aff_5b8e_ee7617ab2d67 -->|calls| 21cec8eb_d409_f934_f379_e9a8fc38cf21
  17cb3848_7a41_8311_3a64_9ba93e6e8961["removeAllStreamsWithJustOneRemoveStream()"]
  17cb3848_7a41_8311_3a64_9ba93e6e8961 -->|calls| 21cec8eb_d409_f934_f379_e9a8fc38cf21
  bb139a83_5cd3_bf72_5575_b3341847dcb9["removeAllStreamsWithManyActiveStreams()"]
  bb139a83_5cd3_bf72_5575_b3341847dcb9 -->|calls| 21cec8eb_d409_f934_f379_e9a8fc38cf21
  03661793_673b_bdfd_de1e_eb7ffe08504f["removeIndividualStreamsWhileCloseDoesNotNPE()"]
  03661793_673b_bdfd_de1e_eb7ffe08504f -->|calls| 21cec8eb_d409_f934_f379_e9a8fc38cf21
  style 21cec8eb_d409_f934_f379_e9a8fc38cf21 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionTest.java lines 675–683

    private void testRemoveAllStreams() throws InterruptedException {
        final CountDownLatch latch = new CountDownLatch(1);
        final Promise<Void> promise = group.next().newPromise();
        client.close(promise).addListener(future -> {
            assertTrue(promise.isDone());
            latch.countDown();
        });
        assertTrue(latch.await(5, TimeUnit.SECONDS));
    }

Domain

Subdomains

Frequently Asked Questions

What does testRemoveAllStreams() do?
testRemoveAllStreams() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionTest.java.
Where is testRemoveAllStreams() defined?
testRemoveAllStreams() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2ConnectionTest.java at line 675.
What calls testRemoveAllStreams()?
testRemoveAllStreams() is called by 5 function(s): removeAllStreamsWithEmptyStreams, removeAllStreamsWithJustOneLocalStream, removeAllStreamsWithJustOneRemoveStream, removeAllStreamsWithManyActiveStreams, removeIndividualStreamsWhileCloseDoesNotNPE.

Analyze Your Own Codebase

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

Try Supermodel Free