Home / Function/ newFactories() — netty Function Reference

newFactories() — netty Function Reference

Architecture documentation for the newFactories() function in IoUringSocketMultipleConnectTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d6efc61c_291f_351c_3576_e145182381cb["newFactories()"]
  954cb901_b413_4555_bd7e_f0c4d12fba33["IoUringSocketMultipleConnectTest"]
  d6efc61c_291f_351c_3576_e145182381cb -->|defined in| 954cb901_b413_4555_bd7e_f0c4d12fba33
  style d6efc61c_291f_351c_3576_e145182381cb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

    @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;
    }

Domain

Subdomains

Frequently Asked Questions

What does newFactories() do?
newFactories() is a function in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketMultipleConnectTest.java.
Where is newFactories() defined?
newFactories() is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketMultipleConnectTest.java at line 39.

Analyze Your Own Codebase

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

Try Supermodel Free