Home / Function/ newFactories() — netty Function Reference

newFactories() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  877328b3_f487_fb47_1685_9ff25e5bf49b["newFactories()"]
  c52ccc74_8f8f_2d58_aa86_af8dda8ef2b1["IoUringBufferRingSocketMultipleConnectTest"]
  877328b3_f487_fb47_1685_9ff25e5bf49b -->|defined in| c52ccc74_8f8f_2d58_aa86_af8dda8ef2b1
  style 877328b3_f487_fb47_1685_9ff25e5bf49b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringBufferRingSocketMultipleConnectTest.java lines 41–55

    @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/IoUringBufferRingSocketMultipleConnectTest.java.
Where is newFactories() defined?
newFactories() is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringBufferRingSocketMultipleConnectTest.java at line 41.

Analyze Your Own Codebase

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

Try Supermodel Free