Home / Class/ IoUringBufferRingSocketExceptionHandlingTest Class — netty Architecture

IoUringBufferRingSocketExceptionHandlingTest Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  13fe101a_3338_98dc_a115_30d30462912c["IoUringBufferRingSocketExceptionHandlingTest"]
  2c2c55ca_6906_6b30_9a02_741905fd7dc5["IoUringBufferRingSocketExceptionHandlingTest.java"]
  13fe101a_3338_98dc_a115_30d30462912c -->|defined in| 2c2c55ca_6906_6b30_9a02_741905fd7dc5
  9f2bd494_f2de_8135_d1a6_9c25280a9041["loadJNI()"]
  13fe101a_3338_98dc_a115_30d30462912c -->|method| 9f2bd494_f2de_8135_d1a6_9c25280a9041
  8fa9f34b_8cc9_057d_35e5_d39eaa9e24f6["newFactories()"]
  13fe101a_3338_98dc_a115_30d30462912c -->|method| 8fa9f34b_8cc9_057d_35e5_d39eaa9e24f6
  dcc08d17_576a_629b_efec_c241c39d600d["configure()"]
  13fe101a_3338_98dc_a115_30d30462912c -->|method| dcc08d17_576a_629b_efec_c241c39d600d

Relationship Graph

Source Code

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

public class IoUringBufferRingSocketExceptionHandlingTest extends SocketExceptionHandlingTest {

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

Analyze Your Own Codebase

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

Try Supermodel Free