Home / Class/ IoUringBufferRingSocketStringEchoTest Class — netty Architecture

IoUringBufferRingSocketStringEchoTest Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  5a9ad01b_52d4_c5fc_2b2b_1fec4f9e6d58["IoUringBufferRingSocketStringEchoTest"]
  a8161ff2_4c9b_790e_78f4_1c4e38bc911b["IoUringBufferRingSocketStringEchoTest.java"]
  5a9ad01b_52d4_c5fc_2b2b_1fec4f9e6d58 -->|defined in| a8161ff2_4c9b_790e_78f4_1c4e38bc911b
  8ca0ebc9_bab1_79e9_6b15_56f9c1d6826d["loadJNI()"]
  5a9ad01b_52d4_c5fc_2b2b_1fec4f9e6d58 -->|method| 8ca0ebc9_bab1_79e9_6b15_56f9c1d6826d
  7048e277_80f7_b24b_6ec9_f0cca3ee467d["newFactories()"]
  5a9ad01b_52d4_c5fc_2b2b_1fec4f9e6d58 -->|method| 7048e277_80f7_b24b_6ec9_f0cca3ee467d
  eaca14db_6b0f_d44f_8190_d4c849288676["configure()"]
  5a9ad01b_52d4_c5fc_2b2b_1fec4f9e6d58 -->|method| eaca14db_6b0f_d44f_8190_d4c849288676

Relationship Graph

Source Code

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

public class IoUringBufferRingSocketStringEchoTest extends SocketStringEchoTest {

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

    @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_BUFFER_GROUP_ID, IoUringSocketTestPermutation.BGID);
        cb.option(IoUringChannelOption.IO_URING_BUFFER_GROUP_ID, IoUringSocketTestPermutation.BGID);
    }
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free