NioEventLoopTest Class — netty Architecture
Architecture documentation for the NioEventLoopTest class in NioEventLoopTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 28a16ce2_3005_7442_561a_e6e835d0a9e6["NioEventLoopTest"] be4fdb23_89ab_33db_52aa_a272dc155198["NioEventLoopTest.java"] 28a16ce2_3005_7442_561a_e6e835d0a9e6 -->|defined in| be4fdb23_89ab_33db_52aa_a272dc155198 abbb2490_178e_0abc_41fb_8530dcb0d18c["supportsChannelIteration()"] 28a16ce2_3005_7442_561a_e6e835d0a9e6 -->|method| abbb2490_178e_0abc_41fb_8530dcb0d18c 650f4482_a50e_efd3_9c2b_5b6477a0cdea["EventLoopGroup()"] 28a16ce2_3005_7442_561a_e6e835d0a9e6 -->|method| 650f4482_a50e_efd3_9c2b_5b6477a0cdea ff70d77c_12e0_d1b5_a9e9_d1a655eda69c["Channel()"] 28a16ce2_3005_7442_561a_e6e835d0a9e6 -->|method| ff70d77c_12e0_d1b5_a9e9_d1a655eda69c 890a534c_af69_e4ae_0083_092147963edf["serverChannelClass()"] 28a16ce2_3005_7442_561a_e6e835d0a9e6 -->|method| 890a534c_af69_e4ae_0083_092147963edf
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/NioEventLoopTest.java lines 29–56
public class NioEventLoopTest extends AbstractSingleThreadEventLoopTest {
@Override
protected boolean supportsChannelIteration() {
return true;
}
@Override
protected EventLoopGroup newEventLoopGroup() {
return new NioEventLoopGroup();
}
@Override
protected EventLoopGroup newAutoScalingEventLoopGroup() {
return new NioEventLoopGroup(SCALING_MAX_THREADS, (Executor) null, AUTO_SCALING_CHOOSER_FACTORY,
SelectorProvider.provider(), DefaultSelectStrategyFactory.INSTANCE);
}
@Override
protected Channel newChannel() {
return new NioSocketChannel();
}
@Override
protected Class<? extends ServerChannel> serverChannelClass() {
return NioServerSocketChannel.class;
}
}
Source
Frequently Asked Questions
What is the NioEventLoopTest class?
NioEventLoopTest is a class in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/NioEventLoopTest.java.
Where is NioEventLoopTest defined?
NioEventLoopTest is defined in testsuite/src/main/java/io/netty/testsuite/transport/NioEventLoopTest.java at line 29.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free