Home / Class/ IoUringBufferRingSocketEchoTest Class — netty Architecture

IoUringBufferRingSocketEchoTest Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  038fc305_c5ca_5c22_eea9_5d843e1c6684["IoUringBufferRingSocketEchoTest"]
  a19fbfd5_07f4_5ecc_069c_29c69f72ad6b["IoUringBufferRingSocketEchoTest.java"]
  038fc305_c5ca_5c22_eea9_5d843e1c6684 -->|defined in| a19fbfd5_07f4_5ecc_069c_29c69f72ad6b
  11a2627f_0f32_81d7_3854_40cf33d369c0["loadJNI()"]
  038fc305_c5ca_5c22_eea9_5d843e1c6684 -->|method| 11a2627f_0f32_81d7_3854_40cf33d369c0
  34c95089_0a03_0b48_366a_c081c114f741["newFactories()"]
  038fc305_c5ca_5c22_eea9_5d843e1c6684 -->|method| 34c95089_0a03_0b48_366a_c081c114f741
  0c79c6ce_aa30_9558_65f3_b1530221c0ca["configure()"]
  038fc305_c5ca_5c22_eea9_5d843e1c6684 -->|method| 0c79c6ce_aa30_9558_65f3_b1530221c0ca

Relationship Graph

Source Code

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

public class IoUringBufferRingSocketEchoTest extends SocketEchoTest {

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

    @Override
    protected List<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 IoUringBufferRingSocketEchoTest class?
IoUringBufferRingSocketEchoTest is a class in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringBufferRingSocketEchoTest.java.
Where is IoUringBufferRingSocketEchoTest defined?
IoUringBufferRingSocketEchoTest is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringBufferRingSocketEchoTest.java at line 29.

Analyze Your Own Codebase

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

Try Supermodel Free