IoUringBufferRingSocketHalfClosedTest Class — netty Architecture
Architecture documentation for the IoUringBufferRingSocketHalfClosedTest class in IoUringBufferRingSocketHalfClosedTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 242a6cdf_61ac_b87a_83ac_ab2bdffb52ac["IoUringBufferRingSocketHalfClosedTest"] eedcbd35_a9e1_88ba_2358_661dd625d60f["IoUringBufferRingSocketHalfClosedTest.java"] 242a6cdf_61ac_b87a_83ac_ab2bdffb52ac -->|defined in| eedcbd35_a9e1_88ba_2358_661dd625d60f 2585d040_4c4a_ac05_e9e8_00c4af893cc4["loadJNI()"] 242a6cdf_61ac_b87a_83ac_ab2bdffb52ac -->|method| 2585d040_4c4a_ac05_e9e8_00c4af893cc4 09f98a95_35d6_75a3_79cc_084f5407270b["newFactories()"] 242a6cdf_61ac_b87a_83ac_ab2bdffb52ac -->|method| 09f98a95_35d6_75a3_79cc_084f5407270b 04b2d3b2_062e_e4f6_cc1f_3bcf8d7c3a4f["testAutoCloseFalseDoesShutdownOutput()"] 242a6cdf_61ac_b87a_83ac_ab2bdffb52ac -->|method| 04b2d3b2_062e_e4f6_cc1f_3bcf8d7c3a4f cfbe49f5_5cee_8a1b_9d9c_66ca5055d6f0["configure()"] 242a6cdf_61ac_b87a_83ac_ab2bdffb52ac -->|method| cfbe49f5_5cee_8a1b_9d9c_66ca5055d6f0
Relationship Graph
Source Code
transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringBufferRingSocketHalfClosedTest.java lines 34–65
public class IoUringBufferRingSocketHalfClosedTest extends SocketHalfClosedTest {
@BeforeAll
public static void loadJNI() {
assumeTrue(IoUring.isAvailable());
assumeTrue(IoUring.isRegisterBufferRingSupported());
}
@Override
protected List<TestsuitePermutation.BootstrapComboFactory<ServerBootstrap, Bootstrap>> newFactories() {
return IoUringSocketTestPermutation.INSTANCE.socket();
}
@Disabled
@Test
public void testAutoCloseFalseDoesShutdownOutput(TestInfo testInfo) throws Throwable {
// This test only works on Linux / BSD / MacOS as we assume some semantics that are not true for Windows.
Assumptions.assumeFalse(PlatformDependent.isWindows());
this.run(testInfo, new Runner<ServerBootstrap, Bootstrap>() {
public void run(ServerBootstrap serverBootstrap, Bootstrap bootstrap) throws Throwable {
testAutoCloseFalseDoesShutdownOutput(serverBootstrap, bootstrap);
}
});
}
@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);
}
}
Source
Frequently Asked Questions
What is the IoUringBufferRingSocketHalfClosedTest class?
IoUringBufferRingSocketHalfClosedTest is a class in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringBufferRingSocketHalfClosedTest.java.
Where is IoUringBufferRingSocketHalfClosedTest defined?
IoUringBufferRingSocketHalfClosedTest is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringBufferRingSocketHalfClosedTest.java at line 34.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free