Home / Function/ startAllExecutors() — netty Function Reference

startAllExecutors() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  45e835b7_601b_955d_a619_3fc8956adbbc["startAllExecutors()"]
  b4c07204_4723_7056_4606_4ede1e592317["MultiThreadIoEventLoopGroupTest"]
  45e835b7_601b_955d_a619_3fc8956adbbc -->|defined in| b4c07204_4723_7056_4606_4ede1e592317
  9dc088c7_b110_3105_08f2_60a9b86cd695["testScalingWithIoRegistrationLifecycle()"]
  9dc088c7_b110_3105_08f2_60a9b86cd695 -->|calls| 45e835b7_601b_955d_a619_3fc8956adbbc
  e7d55bd2_9308_0bb3_c01a_5eb1fee6b142["testShouldNotSuspendExecutorWithActiveRegistration()"]
  e7d55bd2_9308_0bb3_c01a_5eb1fee6b142 -->|calls| 45e835b7_601b_955d_a619_3fc8956adbbc
  style 45e835b7_601b_955d_a619_3fc8956adbbc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java lines 212–218

    private static void startAllExecutors(MultiThreadIoEventLoopGroup group) throws InterruptedException {
        CountDownLatch latch = new CountDownLatch(group.executorCount());
        for (EventExecutor executor : group) {
            executor.execute(latch::countDown);
        }
        assertTrue(latch.await(2, TimeUnit.SECONDS), "Executors did not start in time");
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free