countActiveExecutors() — netty Function Reference
Architecture documentation for the countActiveExecutors() function in AbstractSingleThreadEventLoopTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8296623e_3a87_dc79_c117_7521904ea268["countActiveExecutors()"] eb487d77_b896_e5c3_20f1_2b7144dc7cf5["AbstractSingleThreadEventLoopTest"] 8296623e_3a87_dc79_c117_7521904ea268 -->|defined in| eb487d77_b896_e5c3_20f1_2b7144dc7cf5 fa9c03dd_2805_1c69_4551_e646750ea727["testAutoScalingEventLoopGroupCanScaleDownAndBeUsed()"] fa9c03dd_2805_1c69_4551_e646750ea727 -->|calls| 8296623e_3a87_dc79_c117_7521904ea268 66fad147_d183_9f96_d6c8_126aa6f58b69["testSubmittingTaskWakesUpSuspendedExecutor()"] 66fad147_d183_9f96_d6c8_126aa6f58b69 -->|calls| 8296623e_3a87_dc79_c117_7521904ea268 style 8296623e_3a87_dc79_c117_7521904ea268 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java lines 387–395
private static int countActiveExecutors(EventLoopGroup group) {
int activeCount = 0;
for (EventExecutor executor : group) {
if (!executor.isSuspended()) {
activeCount++;
}
}
return activeCount;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does countActiveExecutors() do?
countActiveExecutors() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java.
Where is countActiveExecutors() defined?
countActiveExecutors() is defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java at line 387.
What calls countActiveExecutors()?
countActiveExecutors() is called by 2 function(s): testAutoScalingEventLoopGroupCanScaleDownAndBeUsed, testSubmittingTaskWakesUpSuspendedExecutor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free