Home / Function/ testFastOpen() — netty Function Reference

testFastOpen() — netty Function Reference

Architecture documentation for the testFastOpen() function in EpollServerSocketChannelConfigTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f7d62a38_4382_92d8_2965_9cded485d22c["testFastOpen()"]
  78d8dc4a_1469_96a9_4370_4db3572c86e8["EpollServerSocketChannelConfigTest"]
  f7d62a38_4382_92d8_2965_9cded485d22c -->|defined in| 78d8dc4a_1469_96a9_4370_4db3572c86e8
  style f7d62a38_4382_92d8_2965_9cded485d22c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollServerSocketChannelConfigTest.java lines 93–103

    @Test
    public void testFastOpen() {
        assertThrows(IllegalArgumentException.class, new Executable() {
            @Override
            public void execute() {
                ch.config().setTcpFastopen(-1);
            }
        });
        ch.config().setTcpFastopen(10);
        assertEquals(10, ch.config().getTcpFastopen());
    }

Domain

Subdomains

Frequently Asked Questions

What does testFastOpen() do?
testFastOpen() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollServerSocketChannelConfigTest.java.
Where is testFastOpen() defined?
testFastOpen() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/EpollServerSocketChannelConfigTest.java at line 93.

Analyze Your Own Codebase

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

Try Supermodel Free