AutoScalingState Class — netty Architecture
Architecture documentation for the AutoScalingState class in AutoScalingEventExecutorChooserFactory.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 22b393e2_7dd7_a072_d1b0_26f88486b0b5["AutoScalingState"] 409fa4eb_44da_665a_7f39_b9b5f929789e["AutoScalingEventExecutorChooserFactory.java"] 22b393e2_7dd7_a072_d1b0_26f88486b0b5 -->|defined in| 409fa4eb_44da_665a_7f39_b9b5f929789e 0ad7a22b_c606_581b_a4ef_ecd45fd409ef["AutoScalingState()"] 22b393e2_7dd7_a072_d1b0_26f88486b0b5 -->|method| 0ad7a22b_c606_581b_a4ef_ecd45fd409ef
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/AutoScalingEventExecutorChooserFactory.java lines 141–153
private static final class AutoScalingState {
final int activeChildrenCount;
final long nextWakeUpIndex;
final EventExecutor[] activeExecutors;
final EventExecutorChooser activeExecutorsChooser;
AutoScalingState(int activeChildrenCount, long nextWakeUpIndex, EventExecutor[] activeExecutors) {
this.activeChildrenCount = activeChildrenCount;
this.nextWakeUpIndex = nextWakeUpIndex;
this.activeExecutors = activeExecutors;
activeExecutorsChooser = DefaultEventExecutorChooserFactory.INSTANCE.newChooser(activeExecutors);
}
}
Defined In
Source
Frequently Asked Questions
What is the AutoScalingState class?
AutoScalingState is a class 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 141.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free