FlushStrategyTest Class — netty Architecture
Architecture documentation for the FlushStrategyTest class in FlushStrategyTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b49faae6_cc90_e2c0_f3a6_5d8b2933e779["FlushStrategyTest"] 663e3bd9_ec63_09f3_2a57_e8338f558e41["FlushStrategyTest.java"] b49faae6_cc90_e2c0_f3a6_5d8b2933e779 -->|defined in| 663e3bd9_ec63_09f3_2a57_e8338f558e41 4bb76b83_9c30_0191_528d_f1fcfbc655db["testAfterNumBytes()"] b49faae6_cc90_e2c0_f3a6_5d8b2933e779 -->|method| 4bb76b83_9c30_0191_528d_f1fcfbc655db 65a56406_2bf3_d3c8_4cc4_c760560f134c["testAfterNumPackets()"] b49faae6_cc90_e2c0_f3a6_5d8b2933e779 -->|method| 65a56406_2bf3_d3c8_4cc4_c760560f134c
Relationship Graph
Source Code
codec-native-quic/src/test/java/io/netty/handler/codec/quic/FlushStrategyTest.java lines 23–38
public class FlushStrategyTest {
@Test
public void testAfterNumBytes() {
FlushStrategy strategy = FlushStrategy.afterNumBytes(10);
assertFalse(strategy.shouldFlushNow(1, 10));
assertTrue(strategy.shouldFlushNow(1, 11));
}
@Test
public void testAfterNumPackets() {
FlushStrategy strategy = FlushStrategy.afterNumPackets(10);
assertFalse(strategy.shouldFlushNow(10, 10));
assertTrue(strategy.shouldFlushNow(11, 11));
}
}
Source
Frequently Asked Questions
What is the FlushStrategyTest class?
FlushStrategyTest is a class in the netty codebase, defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/FlushStrategyTest.java.
Where is FlushStrategyTest defined?
FlushStrategyTest is defined in codec-native-quic/src/test/java/io/netty/handler/codec/quic/FlushStrategyTest.java at line 23.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free