Home / Function/ setMaxConcurrentStreams() — netty Function Reference

setMaxConcurrentStreams() — netty Function Reference

Architecture documentation for the setMaxConcurrentStreams() function in StreamBufferingEncoderTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f0871f47_b22a_42a3_326b_2bb017254453["setMaxConcurrentStreams()"]
  b13b21e9_41cb_8feb_3534_f953823cad07["StreamBufferingEncoderTest"]
  f0871f47_b22a_42a3_326b_2bb017254453 -->|defined in| b13b21e9_41cb_8feb_3534_f953823cad07
  9f8162e5_2b2a_2415_bd00_d03ac0023abc["ensureCanCreateNextStreamWhenStreamCloses()"]
  9f8162e5_2b2a_2415_bd00_d03ac0023abc -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  c794a500_3f66_190a_7d42_f15255392e9f["alternatingWritesToActiveAndBufferedStreams()"]
  c794a500_3f66_190a_7d42_f15255392e9f -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  f4d05f2d_c6c5_35d4_b589_f342d5aab5de["bufferingNewStreamFailsAfterGoAwayReceived()"]
  f4d05f2d_c6c5_35d4_b589_f342d5aab5de -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  5915426b_4b99_aac6_0cb7_db9629a54540["receivingGoAwayFailsBufferedStreams()"]
  5915426b_4b99_aac6_0cb7_db9629a54540 -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  b50540da_87f1_0953_7998_c4a801d47e45["receivingGoAwayFailsNewStreamIfMaxConcurrentStreamsReached()"]
  b50540da_87f1_0953_7998_c4a801d47e45 -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  569bbfdb_1483_c5d9_1ce7_fcd616d9c72d["sendingGoAwayShouldNotFailStreams()"]
  569bbfdb_1483_c5d9_1ce7_fcd616d9c72d -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  5ce03f8b_849d_0303_8613_5ed842fcacab["endStreamDoesNotFailBufferedStream()"]
  5ce03f8b_849d_0303_8613_5ed842fcacab -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  a4834aab_bdfa_a201_170b_50ec29002cd8["rstStreamClosesBufferedStream()"]
  a4834aab_bdfa_a201_170b_50ec29002cd8 -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  ed24aad8_a143_6f58_e566_7e8acdbc51a5["bufferUntilActiveStreamsAreReset()"]
  ed24aad8_a143_6f58_e566_7e8acdbc51a5 -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  dfd26aec_d7ff_cb7f_2e5a_3d11e7382ac9["bufferUntilMaxStreamsIncreased()"]
  dfd26aec_d7ff_cb7f_2e5a_3d11e7382ac9 -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  e4113ea4_8c8a_1434_5e87_77727fee72a1["bufferUntilSettingsReceived()"]
  e4113ea4_8c8a_1434_5e87_77727fee72a1 -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  9efc2c7b_4766_da6a_cfcc_0f144a643339["exhaustedStreamsDoNotBuffer()"]
  9efc2c7b_4766_da6a_cfcc_0f144a643339 -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  d51bbb85_00bd_d132_3864_a7e725bfa10a["closedBufferedStreamReleasesByteBuf()"]
  d51bbb85_00bd_d132_3864_a7e725bfa10a -->|calls| f0871f47_b22a_42a3_326b_2bb017254453
  style f0871f47_b22a_42a3_326b_2bb017254453 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java lines 523–525

    private void setMaxConcurrentStreams(int newValue) {
        setMaxConcurrentStreams(true, newValue);
    }

Domain

Subdomains

Frequently Asked Questions

What does setMaxConcurrentStreams() do?
setMaxConcurrentStreams() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java.
Where is setMaxConcurrentStreams() defined?
setMaxConcurrentStreams() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/StreamBufferingEncoderTest.java at line 523.
What calls setMaxConcurrentStreams()?
setMaxConcurrentStreams() is called by 13 function(s): alternatingWritesToActiveAndBufferedStreams, bufferUntilActiveStreamsAreReset, bufferUntilMaxStreamsIncreased, bufferUntilSettingsReceived, bufferingNewStreamFailsAfterGoAwayReceived, closedBufferedStreamReleasesByteBuf, endStreamDoesNotFailBufferedStream, ensureCanCreateNextStreamWhenStreamCloses, and 5 more.

Analyze Your Own Codebase

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

Try Supermodel Free