Home / Function/ updateMaxConcurrentStreams() — netty Function Reference

updateMaxConcurrentStreams() — netty Function Reference

Architecture documentation for the updateMaxConcurrentStreams() function in StreamBufferingEncoder.java from the netty codebase.

Function java Buffer Allocators calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  44468faa_3bed_025a_119e_5a314295a695["updateMaxConcurrentStreams()"]
  29cd10ea_888d_e1b6_5974_a15b31b4b5f0["StreamBufferingEncoder"]
  44468faa_3bed_025a_119e_5a314295a695 -->|defined in| 29cd10ea_888d_e1b6_5974_a15b31b4b5f0
  a895a0e3_4e36_d3ff_a06d_b6dd4c4f3bce["ChannelFuture()"]
  a895a0e3_4e36_d3ff_a06d_b6dd4c4f3bce -->|calls| 44468faa_3bed_025a_119e_5a314295a695
  33aede06_2799_6b12_4676_81ebe46c7c10["remoteSettings()"]
  33aede06_2799_6b12_4676_81ebe46c7c10 -->|calls| 44468faa_3bed_025a_119e_5a314295a695
  f81a0cff_9108_6302_08c7_2675d219dd9a["tryCreatePendingStreams()"]
  44468faa_3bed_025a_119e_5a314295a695 -->|calls| f81a0cff_9108_6302_08c7_2675d219dd9a
  style 44468faa_3bed_025a_119e_5a314295a695 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/StreamBufferingEncoder.java lines 250–255

    private void updateMaxConcurrentStreams() {
        // Get the updated value for SETTINGS_MAX_CONCURRENT_STREAMS.
        maxConcurrentStreams = connection().local().maxActiveStreams();
        // Try to create new streams up to the new threshold.
        tryCreatePendingStreams();
    }

Domain

Subdomains

Frequently Asked Questions

What does updateMaxConcurrentStreams() do?
updateMaxConcurrentStreams() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/StreamBufferingEncoder.java.
Where is updateMaxConcurrentStreams() defined?
updateMaxConcurrentStreams() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/StreamBufferingEncoder.java at line 250.
What does updateMaxConcurrentStreams() call?
updateMaxConcurrentStreams() calls 1 function(s): tryCreatePendingStreams.
What calls updateMaxConcurrentStreams()?
updateMaxConcurrentStreams() is called by 2 function(s): ChannelFuture, remoteSettings.

Analyze Your Own Codebase

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

Try Supermodel Free