Home / Function/ startAllExecutors() — netty Function Reference

startAllExecutors() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a63bc263_a646_b09f_b2cc_5f65bb9ee306["startAllExecutors()"]
  eb487d77_b896_e5c3_20f1_2b7144dc7cf5["AbstractSingleThreadEventLoopTest"]
  a63bc263_a646_b09f_b2cc_5f65bb9ee306 -->|defined in| eb487d77_b896_e5c3_20f1_2b7144dc7cf5
  fa9c03dd_2805_1c69_4551_e646750ea727["testAutoScalingEventLoopGroupCanScaleDownAndBeUsed()"]
  fa9c03dd_2805_1c69_4551_e646750ea727 -->|calls| a63bc263_a646_b09f_b2cc_5f65bb9ee306
  66fad147_d183_9f96_d6c8_126aa6f58b69["testSubmittingTaskWakesUpSuspendedExecutor()"]
  66fad147_d183_9f96_d6c8_126aa6f58b69 -->|calls| a63bc263_a646_b09f_b2cc_5f65bb9ee306
  style a63bc263_a646_b09f_b2cc_5f65bb9ee306 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java lines 397–403

    private static void startAllExecutors(EventLoopGroup group) throws InterruptedException {
        CountDownLatch startLatch = new CountDownLatch(SCALING_MAX_THREADS);
        for (EventExecutor executor : group) {
            executor.execute(startLatch::countDown);
        }
        startLatch.await();
    }

Domain

Subdomains

Frequently Asked Questions

What does startAllExecutors() do?
startAllExecutors() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java.
Where is startAllExecutors() defined?
startAllExecutors() is defined in testsuite/src/main/java/io/netty/testsuite/transport/AbstractSingleThreadEventLoopTest.java at line 397.
What calls startAllExecutors()?
startAllExecutors() 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