testSetCqSizeOptions() — netty Function Reference
Architecture documentation for the testSetCqSizeOptions() function in IoUringIoHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a072b9b6_1bb5_3ff4_f8db_b45bbf2f373d["testSetCqSizeOptions()"] a5c22e87_b6d0_cf88_f1c4_d3668b78fb7d["IoUringIoHandlerTest"] a072b9b6_1bb5_3ff4_f8db_b45bbf2f373d -->|defined in| a5c22e87_b6d0_cf88_f1c4_d3668b78fb7d style a072b9b6_1bb5_3ff4_f8db_b45bbf2f373d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringIoHandlerTest.java lines 101–125
@Test
@DisabledIf("setUpCQSizeUnavailable")
public void testSetCqSizeOptions() {
IoUringIoHandlerConfig config = new IoUringIoHandlerConfig();
config.setMaxBoundedWorker(2)
.setMaxUnboundedWorker(2)
.setRingSize(4)
.setCqSize(32);
IoHandlerFactory ioHandlerFactory = IoUringIoHandler.newFactory(config);
IoHandler handler = ioHandlerFactory.newHandler(new ThreadAwareExecutor() {
@Override
public boolean isExecutorThread(Thread thread) {
return false;
}
@Override
public void execute(Runnable command) {
command.run();
}
});
handler.initialize();
handler.prepareToDestroy();
handler.destroy();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does testSetCqSizeOptions() do?
testSetCqSizeOptions() is a function in the netty codebase, defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringIoHandlerTest.java.
Where is testSetCqSizeOptions() defined?
testSetCqSizeOptions() is defined in transport-native-io_uring/src/test/java/io/netty/channel/uring/IoUringIoHandlerTest.java at line 101.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free