Home / Class/ IoUringDomainSocketBufferRingSocketEchoTest Class — netty Architecture

IoUringDomainSocketBufferRingSocketEchoTest Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  86caee00_0674_d323_1fd9_581a0a96606c["IoUringDomainSocketBufferRingSocketEchoTest"]
  ff59a1a2_cb39_8cab_01be_4832dd945cc4["IoUringDomainSocketBufferRingSocketEchoTest.java"]
  86caee00_0674_d323_1fd9_581a0a96606c -->|defined in| ff59a1a2_cb39_8cab_01be_4832dd945cc4
  a4b1ff63_6bed_76e8_ad90_4299ad9cb68c["loadJNI()"]
  86caee00_0674_d323_1fd9_581a0a96606c -->|method| a4b1ff63_6bed_76e8_ad90_4299ad9cb68c
  7db2e0e9_1e4d_39b1_1f24_96600c2f0ee2["SocketAddress()"]
  86caee00_0674_d323_1fd9_581a0a96606c -->|method| 7db2e0e9_1e4d_39b1_1f24_96600c2f0ee2
  39f4e32a_9782_9a8e_ca0d_e33d663f2469["newFactories()"]
  86caee00_0674_d323_1fd9_581a0a96606c -->|method| 39f4e32a_9782_9a8e_ca0d_e33d663f2469
  c235f4a3_0355_176a_75d9_9adc76ae75d9["configure()"]
  86caee00_0674_d323_1fd9_581a0a96606c -->|method| c235f4a3_0355_176a_75d9_9adc76ae75d9

Relationship Graph

Source Code

transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringDomainSocketBufferRingSocketEchoTest.java lines 30–55

public class IoUringDomainSocketBufferRingSocketEchoTest extends SocketEchoTest {

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

    @Override
    protected SocketAddress newSocketAddress() {
        return IoUringSocketTestPermutation.newDomainSocketAddress();
    }

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

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

Analyze Your Own Codebase

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

Try Supermodel Free