Home / Class/ IoUringSocketSendZcSendmsgZcEchoTest Class — netty Architecture

IoUringSocketSendZcSendmsgZcEchoTest Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  948fb9a0_65fe_f101_1084_6c46b3a6148d["IoUringSocketSendZcSendmsgZcEchoTest"]
  47f1a93e_652b_dcb2_1cbe_d202d9e3687c["IoUringSocketSendZcSendmsgZcEchoTest.java"]
  948fb9a0_65fe_f101_1084_6c46b3a6148d -->|defined in| 47f1a93e_652b_dcb2_1cbe_d202d9e3687c
  af6b7cbb_ca1a_d241_b18c_b04925b1561a["loadJNI()"]
  948fb9a0_65fe_f101_1084_6c46b3a6148d -->|method| af6b7cbb_ca1a_d241_b18c_b04925b1561a
  448fd637_9504_155f_f379_9c9e495c5ecf["newFactories()"]
  948fb9a0_65fe_f101_1084_6c46b3a6148d -->|method| 448fd637_9504_155f_f379_9c9e495c5ecf
  dc576530_d6b0_0dec_8f1b_44814d09ff28["configure()"]
  948fb9a0_65fe_f101_1084_6c46b3a6148d -->|method| dc576530_d6b0_0dec_8f1b_44814d09ff28

Relationship Graph

Source Code

transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringSocketSendZcSendmsgZcEchoTest.java lines 29–47

public class IoUringSocketSendZcSendmsgZcEchoTest extends SocketEchoTest {
    @BeforeAll
    public static void loadJNI() {
        assumeTrue(IoUring.isAvailable());
        assumeTrue(IoUring.isSendZcSupported());
    }

    @Override
    protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() {
        return IoUringSocketTestPermutation.INSTANCE.socket();
    }

    @Override
    protected void configure(ServerBootstrap sb, Bootstrap cb, ByteBufAllocator allocator) {
        super.configure(sb, cb, allocator);
        sb.childOption(IoUringChannelOption.IO_URING_WRITE_ZERO_COPY_THRESHOLD, 0);
        cb.option(IoUringChannelOption.IO_URING_WRITE_ZERO_COPY_THRESHOLD, 0);
    }
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free