Home / Function/ AutoScalingState() — netty Function Reference

AutoScalingState() — netty Function Reference

Architecture documentation for the AutoScalingState() function in AutoScalingEventExecutorChooserFactory.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0ad7a22b_c606_581b_a4ef_ecd45fd409ef["AutoScalingState()"]
  22b393e2_7dd7_a072_d1b0_26f88486b0b5["AutoScalingState"]
  0ad7a22b_c606_581b_a4ef_ecd45fd409ef -->|defined in| 22b393e2_7dd7_a072_d1b0_26f88486b0b5
  c4b40701_4326_dfe6_f06e_30628fb77b04["AutoScalingEventExecutorChooser()"]
  c4b40701_4326_dfe6_f06e_30628fb77b04 -->|calls| 0ad7a22b_c606_581b_a4ef_ecd45fd409ef
  a4304eb6_db6c_91df_93c2_2b3acb53fc85["tryScaleUpBy()"]
  a4304eb6_db6c_91df_93c2_2b3acb53fc85 -->|calls| 0ad7a22b_c606_581b_a4ef_ecd45fd409ef
  c54d4b63_d04e_6ce4_af65_d57b7c4c37f3["rebuildActiveExecutors()"]
  c54d4b63_d04e_6ce4_af65_d57b7c4c37f3 -->|calls| 0ad7a22b_c606_581b_a4ef_ecd45fd409ef
  style 0ad7a22b_c606_581b_a4ef_ecd45fd409ef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactory.java lines 147–152

        AutoScalingState(int activeChildrenCount, long nextWakeUpIndex, EventExecutor[] activeExecutors) {
            this.activeChildrenCount = activeChildrenCount;
            this.nextWakeUpIndex = nextWakeUpIndex;
            this.activeExecutors = activeExecutors;
            activeExecutorsChooser = DefaultEventExecutorChooserFactory.INSTANCE.newChooser(activeExecutors);
        }

Domain

Subdomains

Frequently Asked Questions

What does AutoScalingState() do?
AutoScalingState() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactory.java.
Where is AutoScalingState() defined?
AutoScalingState() is defined in common/src/main/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactory.java at line 147.
What calls AutoScalingState()?
AutoScalingState() is called by 3 function(s): AutoScalingEventExecutorChooser, rebuildActiveExecutors, tryScaleUpBy.

Analyze Your Own Codebase

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

Try Supermodel Free