flowControllerCorrectlyAccountsForBytesWithMerge() — netty Function Reference
Architecture documentation for the flowControllerCorrectlyAccountsForBytesWithMerge() function in DefaultHttp2RemoteFlowControllerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bf6afd63_d0f3_c0c1_650b_23b14a5e50a4["flowControllerCorrectlyAccountsForBytesWithMerge()"] f8fd7697_92d4_6455_4dd8_09a33ac81a6f["DefaultHttp2RemoteFlowControllerTest"] bf6afd63_d0f3_c0c1_650b_23b14a5e50a4 -->|defined in| f8fd7697_92d4_6455_4dd8_09a33ac81a6f 136071dd_c92e_5482_7cb2_c1ba0769c1ab["FakeFlowControlled()"] bf6afd63_d0f3_c0c1_650b_23b14a5e50a4 -->|calls| 136071dd_c92e_5482_7cb2_c1ba0769c1ab 85ffafbd_47aa_f4f5_fd02_71f26d692e10["sendData()"] bf6afd63_d0f3_c0c1_650b_23b14a5e50a4 -->|calls| 85ffafbd_47aa_f4f5_fd02_71f26d692e10 4d627b61_f0ea_0927_043f_7bfb246d71d1["assertNotWritten()"] bf6afd63_d0f3_c0c1_650b_23b14a5e50a4 -->|calls| 4d627b61_f0ea_0927_043f_7bfb246d71d1 3cd0e74f_b811_ae1d_06a2_395e3e3422ef["assertMerged()"] bf6afd63_d0f3_c0c1_650b_23b14a5e50a4 -->|calls| 3cd0e74f_b811_ae1d_06a2_395e3e3422ef da0712d5_2b96_e340_6c7a_17114adb9efc["assertFullyWritten()"] bf6afd63_d0f3_c0c1_650b_23b14a5e50a4 -->|calls| da0712d5_2b96_e340_6c7a_17114adb9efc style bf6afd63_d0f3_c0c1_650b_23b14a5e50a4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java lines 209–224
@Test
public void flowControllerCorrectlyAccountsForBytesWithMerge() throws Http2Exception {
controller.initialWindowSize(112); // This must be more than the total merged frame size 110
FakeFlowControlled data1 = new FakeFlowControlled(5, 2, true);
FakeFlowControlled data2 = new FakeFlowControlled(5, 100, true);
sendData(STREAM_A, data1);
sendData(STREAM_A, data2);
data1.assertNotWritten();
data1.assertNotWritten();
data2.assertMerged();
controller.writePendingBytes();
data1.assertFullyWritten();
data2.assertNotWritten();
verify(listener, never()).writabilityChanged(stream(STREAM_A));
assertTrue(controller.isWritable(stream(STREAM_A)));
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does flowControllerCorrectlyAccountsForBytesWithMerge() do?
flowControllerCorrectlyAccountsForBytesWithMerge() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java.
Where is flowControllerCorrectlyAccountsForBytesWithMerge() defined?
flowControllerCorrectlyAccountsForBytesWithMerge() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2RemoteFlowControllerTest.java at line 209.
What does flowControllerCorrectlyAccountsForBytesWithMerge() call?
flowControllerCorrectlyAccountsForBytesWithMerge() calls 5 function(s): FakeFlowControlled, assertFullyWritten, assertMerged, assertNotWritten, sendData.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free