Home / Class/ IoUringSocketMultipleConnectTest Class — netty Architecture

IoUringSocketMultipleConnectTest Class — netty Architecture

Architecture documentation for the IoUringSocketMultipleConnectTest class in IoUringSocketMultipleConnectTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  954cb901_b413_4555_bd7e_f0c4d12fba33["IoUringSocketMultipleConnectTest"]
  0d3fe641_1d2b_e71a_6368_ee4ecbdd40ba["IoUringSocketMultipleConnectTest.java"]
  954cb901_b413_4555_bd7e_f0c4d12fba33 -->|defined in| 0d3fe641_1d2b_e71a_6368_ee4ecbdd40ba
  dbc64ef2_871a_b1ae_8c1e_5ecffde897ca["loadJNI()"]
  954cb901_b413_4555_bd7e_f0c4d12fba33 -->|method| dbc64ef2_871a_b1ae_8c1e_5ecffde897ca
  d6efc61c_291f_351c_3576_e145182381cb["newFactories()"]
  954cb901_b413_4555_bd7e_f0c4d12fba33 -->|method| d6efc61c_291f_351c_3576_e145182381cb

Relationship Graph

Source Code

transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketMultipleConnectTest.java lines 32–54

public class IoUringSocketMultipleConnectTest extends SocketMultipleConnectTest {

    @BeforeAll
    public static void loadJNI() {
        assumeTrue(IoUring.isAvailable());
    }

    @Override
    protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() {
        List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> factories = new ArrayList<>();
        for (TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap> comboFactory
                : IoUringSocketTestPermutation.INSTANCE.socket()) {
            EventLoopGroup group = comboFactory.newClientInstance().config().group();
            if (group instanceof IoEventLoopGroup) {
                IoEventLoopGroup ioGroup = (IoEventLoopGroup) group;
                if (ioGroup.isIoType(NioIoHandler.class) || ioGroup.isIoType(IoUringIoHandler.class)) {
                    factories.add(comboFactory);
                }
            }
        }
        return factories;
    }
}

Frequently Asked Questions

What is the IoUringSocketMultipleConnectTest class?
IoUringSocketMultipleConnectTest is a class in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketMultipleConnectTest.java.
Where is IoUringSocketMultipleConnectTest defined?
IoUringSocketMultipleConnectTest is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketMultipleConnectTest.java at line 32.

Analyze Your Own Codebase

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

Try Supermodel Free