checkNumRegisteredChannels() — netty Function Reference
Architecture documentation for the checkNumRegisteredChannels() function in AbstractSingleThreadEventLoopTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d3288ff6_2cfa_b5ba_fcb4_f110c904eaec["checkNumRegisteredChannels()"] eb487d77_b896_e5c3_20f1_2b7144dc7cf5["AbstractSingleThreadEventLoopTest"] d3288ff6_2cfa_b5ba_fcb4_f110c904eaec -->|defined in| eb487d77_b896_e5c3_20f1_2b7144dc7cf5 52462c2e_4250_f1ae_61ef_3b822985a83b["testChannelsRegistered()"] 52462c2e_4250_f1ae_61ef_3b822985a83b -->|calls| d3288ff6_2cfa_b5ba_fcb4_f110c904eaec 8e4c2417_e591_227d_d30d_62c23430fd6d["registeredChannels()"] d3288ff6_2cfa_b5ba_fcb4_f110c904eaec -->|calls| 8e4c2417_e591_227d_d30d_62c23430fd6d style d3288ff6_2cfa_b5ba_fcb4_f110c904eaec fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java lines 106–111
private static void checkNumRegisteredChannels(SingleThreadEventLoop loop, int numChannels) throws Exception {
// We need to loop as some EventLoop implementations may need some time to update the counter correctly.
while (registeredChannels(loop) != numChannels) {
Thread.sleep(50);
}
}
Domain
Subdomains
Defined In
Calls
Called By
Source
Frequently Asked Questions
What does checkNumRegisteredChannels() do?
checkNumRegisteredChannels() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java.
Where is checkNumRegisteredChannels() defined?
checkNumRegisteredChannels() is defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java at line 106.
What does checkNumRegisteredChannels() call?
checkNumRegisteredChannels() calls 1 function(s): registeredChannels.
What calls checkNumRegisteredChannels()?
checkNumRegisteredChannels() is called by 1 function(s): testChannelsRegistered.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free