Home / Class/ IoUringBufferRingSocketConnectTest Class — netty Architecture

IoUringBufferRingSocketConnectTest Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  feff69c4_410e_22a4_83be_c93e3d792563["IoUringBufferRingSocketConnectTest"]
  e92d3a88_1557_9f17_5fd4_5437949afc3a["IoUringBufferRingSocketConnectTest.java"]
  feff69c4_410e_22a4_83be_c93e3d792563 -->|defined in| e92d3a88_1557_9f17_5fd4_5437949afc3a
  8b9482f8_5f9f_3af4_2ea9_d47a5e2d2880["loadJNI()"]
  feff69c4_410e_22a4_83be_c93e3d792563 -->|method| 8b9482f8_5f9f_3af4_2ea9_d47a5e2d2880
  4685f9b0_00c4_5c8b_bcb7_6ca0ea37c782["newFactories()"]
  feff69c4_410e_22a4_83be_c93e3d792563 -->|method| 4685f9b0_00c4_5c8b_bcb7_6ca0ea37c782
  2ac17f74_3ea2_9056_3e28_7f54c0203cf9["configure()"]
  feff69c4_410e_22a4_83be_c93e3d792563 -->|method| 2ac17f74_3ea2_9056_3e28_7f54c0203cf9

Relationship Graph

Source Code

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

public class IoUringBufferRingSocketConnectTest extends SocketConnectTest {

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

Analyze Your Own Codebase

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

Try Supermodel Free