startAllExecutors() — netty Function Reference
Architecture documentation for the startAllExecutors() function in AutoScalingEventExecutorChooserFactoryTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 70a22675_9cb3_276f_a519_80257cc8a1a0["startAllExecutors()"] b457a618_1afa_e8a9_dd34_152c53154c93["AutoScalingEventExecutorChooserFactoryTest"] 70a22675_9cb3_276f_a519_80257cc8a1a0 -->|defined in| b457a618_1afa_e8a9_dd34_152c53154c93 c2d47c78_2668_c707_abc4_78fb1fc4e33a["testScaleDown()"] c2d47c78_2668_c707_abc4_78fb1fc4e33a -->|calls| 70a22675_9cb3_276f_a519_80257cc8a1a0 31e8cd5d_3da2_e457_e392_791da6763b49["testScaleUp()"] 31e8cd5d_3da2_e457_e392_791da6763b49 -->|calls| 70a22675_9cb3_276f_a519_80257cc8a1a0 fa39d00b_2276_5a04_7a4c_fcb81e990f8e["testScaleDownDoesNotGoBelowMinThreads()"] fa39d00b_2276_5a04_7a4c_fcb81e990f8e -->|calls| 70a22675_9cb3_276f_a519_80257cc8a1a0 37ecfbd1_4171_5557_1ae6_d06132219da3["testScaleUpDoesNotExceedMaxThreads()"] 37ecfbd1_4171_5557_1ae6_d06132219da3 -->|calls| 70a22675_9cb3_276f_a519_80257cc8a1a0 ece7134e_ee36_459c_5aa3_071609b9fe1d["testSmarterPickingConsolidatesWorkOnActiveExecutor()"] ece7134e_ee36_459c_5aa3_071609b9fe1d -->|calls| 70a22675_9cb3_276f_a519_80257cc8a1a0 a73f4628_6eda_d777_896e_c431ad8bcfd7["testMetricsProvideCorrectUtilizationAndActiveExecutorCount()"] a73f4628_6eda_d777_896e_c431ad8bcfd7 -->|calls| 70a22675_9cb3_276f_a519_80257cc8a1a0 style 70a22675_9cb3_276f_a519_80257cc8a1a0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/test/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactoryTest.java lines 341–347
private static void startAllExecutors(MultithreadEventExecutorGroup group) throws InterruptedException {
CountDownLatch startLatch = new CountDownLatch(group.executorCount());
for (EventExecutor executor : group) {
executor.execute(startLatch::countDown);
}
startLatch.await();
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does startAllExecutors() do?
startAllExecutors() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactoryTest.java.
Where is startAllExecutors() defined?
startAllExecutors() is defined in common/src/test/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactoryTest.java at line 341.
What calls startAllExecutors()?
startAllExecutors() is called by 6 function(s): testMetricsProvideCorrectUtilizationAndActiveExecutorCount, testScaleDown, testScaleDownDoesNotGoBelowMinThreads, testScaleUp, testScaleUpDoesNotExceedMaxThreads, testSmarterPickingConsolidatesWorkOnActiveExecutor.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free