Home / Function/ TestEventExecutorGroup() — netty Function Reference

TestEventExecutorGroup() — netty Function Reference

Architecture documentation for the TestEventExecutorGroup() function in AutoScalingEventExecutorChooserFactoryTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  451cbcf6_6cbf_b404_e07f_191549368cc2["TestEventExecutorGroup()"]
  21f14226_21f3_c976_fa1e_a6ea390f452a["TestEventExecutorGroup"]
  451cbcf6_6cbf_b404_e07f_191549368cc2 -->|defined in| 21f14226_21f3_c976_fa1e_a6ea390f452a
  c2d47c78_2668_c707_abc4_78fb1fc4e33a["testScaleDown()"]
  c2d47c78_2668_c707_abc4_78fb1fc4e33a -->|calls| 451cbcf6_6cbf_b404_e07f_191549368cc2
  31e8cd5d_3da2_e457_e392_791da6763b49["testScaleUp()"]
  31e8cd5d_3da2_e457_e392_791da6763b49 -->|calls| 451cbcf6_6cbf_b404_e07f_191549368cc2
  52a56cd5_ecdb_476a_59ff_d4822ab9dbb6["testScaleDownWhenExecutorIsNotStarted()"]
  52a56cd5_ecdb_476a_59ff_d4822ab9dbb6 -->|calls| 451cbcf6_6cbf_b404_e07f_191549368cc2
  fa39d00b_2276_5a04_7a4c_fcb81e990f8e["testScaleDownDoesNotGoBelowMinThreads()"]
  fa39d00b_2276_5a04_7a4c_fcb81e990f8e -->|calls| 451cbcf6_6cbf_b404_e07f_191549368cc2
  37ecfbd1_4171_5557_1ae6_d06132219da3["testScaleUpDoesNotExceedMaxThreads()"]
  37ecfbd1_4171_5557_1ae6_d06132219da3 -->|calls| 451cbcf6_6cbf_b404_e07f_191549368cc2
  ece7134e_ee36_459c_5aa3_071609b9fe1d["testSmarterPickingConsolidatesWorkOnActiveExecutor()"]
  ece7134e_ee36_459c_5aa3_071609b9fe1d -->|calls| 451cbcf6_6cbf_b404_e07f_191549368cc2
  a73f4628_6eda_d777_896e_c431ad8bcfd7["testMetricsProvideCorrectUtilizationAndActiveExecutorCount()"]
  a73f4628_6eda_d777_896e_c431ad8bcfd7 -->|calls| 451cbcf6_6cbf_b404_e07f_191549368cc2
  style 451cbcf6_6cbf_b404_e07f_191549368cc2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactoryTest.java lines 93–100

        TestEventExecutorGroup(int minThreads, int maxThreads, long checkPeriod, TimeUnit unit) {
            super(maxThreads,
                  new ThreadPerTaskExecutor(Executors.defaultThreadFactory()),
                  new AutoScalingEventExecutorChooserFactory(
                          minThreads, maxThreads, checkPeriod, unit, 0.4, 0.6,
                          maxThreads, maxThreads, 2),
                  ARGS);
        }

Domain

Subdomains

Frequently Asked Questions

What does TestEventExecutorGroup() do?
TestEventExecutorGroup() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactoryTest.java.
Where is TestEventExecutorGroup() defined?
TestEventExecutorGroup() is defined in common/src/test/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactoryTest.java at line 93.
What calls TestEventExecutorGroup()?
TestEventExecutorGroup() is called by 7 function(s): testMetricsProvideCorrectUtilizationAndActiveExecutorCount, testScaleDown, testScaleDownDoesNotGoBelowMinThreads, testScaleDownWhenExecutorIsNotStarted, testScaleUp, testScaleUpDoesNotExceedMaxThreads, testSmarterPickingConsolidatesWorkOnActiveExecutor.

Analyze Your Own Codebase

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

Try Supermodel Free