Home / Function/ removeFromActiveStreams() — netty Function Reference

removeFromActiveStreams() — netty Function Reference

Architecture documentation for the removeFromActiveStreams() function in DefaultHttp2Connection.java from the netty codebase.

Function java Buffer Allocators calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  8adb0879_5971_ccaa_50b1_d48d2463e4b8["removeFromActiveStreams()"]
  0ec3cd81_c4d9_2ddb_582d_5c58407aaa07["ActiveStreams"]
  8adb0879_5971_ccaa_50b1_d48d2463e4b8 -->|defined in| 0ec3cd81_c4d9_2ddb_582d_5c58407aaa07
  d3d8df90_d8af_4c4c_db98_f1ec02127ab8["deactivate()"]
  d3d8df90_d8af_4c4c_db98_f1ec02127ab8 -->|calls| 8adb0879_5971_ccaa_50b1_d48d2463e4b8
  b1e0b661_3c90_ab87_9e53_8ead34bad83a["notifyClosed()"]
  8adb0879_5971_ccaa_50b1_d48d2463e4b8 -->|calls| b1e0b661_3c90_ab87_9e53_8ead34bad83a
  8565aa7a_b0f0_3598_d68c_defa38f2426c["removeStream()"]
  8adb0879_5971_ccaa_50b1_d48d2463e4b8 -->|calls| 8565aa7a_b0f0_3598_d68c_defa38f2426c
  1a598dc6_ae75_5736_9f9e_72a81d3979dd["createdBy()"]
  8adb0879_5971_ccaa_50b1_d48d2463e4b8 -->|calls| 1a598dc6_ae75_5736_9f9e_72a81d3979dd
  style 8adb0879_5971_ccaa_50b1_d48d2463e4b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java lines 1039–1046

        void removeFromActiveStreams(DefaultStream stream, Iterator<?> itr) {
            if (streams.remove(stream)) {
                // Update the number of active streams initiated by the endpoint.
                stream.createdBy().numActiveStreams--;
                notifyClosed(stream);
            }
            removeStream(stream, itr);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does removeFromActiveStreams() do?
removeFromActiveStreams() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java.
Where is removeFromActiveStreams() defined?
removeFromActiveStreams() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2Connection.java at line 1039.
What does removeFromActiveStreams() call?
removeFromActiveStreams() calls 3 function(s): createdBy, notifyClosed, removeStream.
What calls removeFromActiveStreams()?
removeFromActiveStreams() is called by 1 function(s): deactivate.

Analyze Your Own Codebase

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

Try Supermodel Free