streamWithMoreDataShouldBeEnqueuedAfterWrite() — netty Function Reference
Architecture documentation for the streamWithMoreDataShouldBeEnqueuedAfterWrite() function in UniformStreamByteDistributorTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 688b36ee_81a1_a272_d4d6_a5f1285683d5["streamWithMoreDataShouldBeEnqueuedAfterWrite()"] c9ed8a9b_20d0_d85d_3ba2_4bce8a2cb72f["UniformStreamByteDistributorTest"] 688b36ee_81a1_a272_d4d6_a5f1285683d5 -->|defined in| c9ed8a9b_20d0_d85d_3ba2_4bce8a2cb72f 874cc0a8_d364_ef65_d3c3_16d61b243e73["initState()"] 688b36ee_81a1_a272_d4d6_a5f1285683d5 -->|calls| 874cc0a8_d364_ef65_d3c3_16d61b243e73 25e52e77_a9b5_a8d2_5680_6ca6e99dc744["write()"] 688b36ee_81a1_a272_d4d6_a5f1285683d5 -->|calls| 25e52e77_a9b5_a8d2_5680_6ca6e99dc744 ab8d170f_1b6f_fcf3_9851_b2a9d9bc0c37["captureWrite()"] 688b36ee_81a1_a272_d4d6_a5f1285683d5 -->|calls| ab8d170f_1b6f_fcf3_9851_b2a9d9bc0c37 ba51586b_9db8_a3bc_5389_8ae4d02826b8["resetWriter()"] 688b36ee_81a1_a272_d4d6_a5f1285683d5 -->|calls| ba51586b_9db8_a3bc_5389_8ae4d02826b8 style 688b36ee_81a1_a272_d4d6_a5f1285683d5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/test/java/io/netty/handler/codec/http2/UniformStreamByteDistributorTest.java lines 191–207
@Test
public void streamWithMoreDataShouldBeEnqueuedAfterWrite() throws Http2Exception {
// Give the stream a bunch of data.
initState(STREAM_A, 2 * CHUNK_SIZE, true);
// Write only part of the data.
assertTrue(write(CHUNK_SIZE));
assertEquals(CHUNK_SIZE, captureWrite(STREAM_A));
verifyNoMoreInteractions(writer);
resetWriter();
// Now write the rest of the data.
assertFalse(write(CHUNK_SIZE));
assertEquals(CHUNK_SIZE, captureWrite(STREAM_A));
verifyNoMoreInteractions(writer);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does streamWithMoreDataShouldBeEnqueuedAfterWrite() do?
streamWithMoreDataShouldBeEnqueuedAfterWrite() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/UniformStreamByteDistributorTest.java.
Where is streamWithMoreDataShouldBeEnqueuedAfterWrite() defined?
streamWithMoreDataShouldBeEnqueuedAfterWrite() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/UniformStreamByteDistributorTest.java at line 191.
What does streamWithMoreDataShouldBeEnqueuedAfterWrite() call?
streamWithMoreDataShouldBeEnqueuedAfterWrite() calls 4 function(s): captureWrite, initState, resetWriter, write.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free