Home / Function/ countActiveExecutors() — netty Function Reference

countActiveExecutors() — netty Function Reference

Architecture documentation for the countActiveExecutors() function in MultiThreadIoEventLoopGroupTest.java from the netty codebase.

Function java Buffer Search called by 3

Entity Profile

Dependency Diagram

graph TD
  7f3d45f6_1f4d_1a16_9fd4_70c9200affc0["countActiveExecutors()"]
  b4c07204_4723_7056_4606_4ede1e592317["MultiThreadIoEventLoopGroupTest"]
  7f3d45f6_1f4d_1a16_9fd4_70c9200affc0 -->|defined in| b4c07204_4723_7056_4606_4ede1e592317
  9dc088c7_b110_3105_08f2_60a9b86cd695["testScalingWithIoRegistrationLifecycle()"]
  9dc088c7_b110_3105_08f2_60a9b86cd695 -->|calls| 7f3d45f6_1f4d_1a16_9fd4_70c9200affc0
  e7d55bd2_9308_0bb3_c01a_5eb1fee6b142["testShouldNotSuspendExecutorWithActiveRegistration()"]
  e7d55bd2_9308_0bb3_c01a_5eb1fee6b142 -->|calls| 7f3d45f6_1f4d_1a16_9fd4_70c9200affc0
  5adea2a2_060c_b4a5_62c9_a2b2c4c16c53["waitForSuspension()"]
  5adea2a2_060c_b4a5_62c9_a2b2c4c16c53 -->|calls| 7f3d45f6_1f4d_1a16_9fd4_70c9200affc0
  style 7f3d45f6_1f4d_1a16_9fd4_70c9200affc0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java lines 220–228

    private static int countActiveExecutors(MultiThreadIoEventLoopGroup group) {
        int activeCount = 0;
        for (EventExecutor executor : group) {
            if (!executor.isSuspended()) {
                activeCount++;
            }
        }
        return activeCount;
    }

Domain

Subdomains

Frequently Asked Questions

What does countActiveExecutors() do?
countActiveExecutors() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java.
Where is countActiveExecutors() defined?
countActiveExecutors() is defined in transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java at line 220.
What calls countActiveExecutors()?
countActiveExecutors() is called by 3 function(s): testScalingWithIoRegistrationLifecycle, testShouldNotSuspendExecutorWithActiveRegistration, waitForSuspension.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free