EventExecutorChooser() — netty Function Reference
Architecture documentation for the EventExecutorChooser() function in DefaultEventExecutorChooserFactory.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 06b91eee_f662_862f_1811_05cf3cd21aa6["EventExecutorChooser()"] 4324ff8a_5f85_b180_7755_99e262ae1a02["DefaultEventExecutorChooserFactory"] 06b91eee_f662_862f_1811_05cf3cd21aa6 -->|defined in| 4324ff8a_5f85_b180_7755_99e262ae1a02 91790bfd_f1e9_a4ee_d5b2_8cd97e2b14a1["isPowerOfTwo()"] 06b91eee_f662_862f_1811_05cf3cd21aa6 -->|calls| 91790bfd_f1e9_a4ee_d5b2_8cd97e2b14a1 08183e9f_a6df_0163_d2d0_34dff1812109["PowerOfTwoEventExecutorChooser()"] 06b91eee_f662_862f_1811_05cf3cd21aa6 -->|calls| 08183e9f_a6df_0163_d2d0_34dff1812109 5945fa27_04a5_12b9_dabe_e613d3ff9400["GenericEventExecutorChooser()"] 06b91eee_f662_862f_1811_05cf3cd21aa6 -->|calls| 5945fa27_04a5_12b9_dabe_e613d3ff9400 style 06b91eee_f662_862f_1811_05cf3cd21aa6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/DefaultEventExecutorChooserFactory.java lines 30–37
@Override
public EventExecutorChooser newChooser(EventExecutor[] executors) {
if (isPowerOfTwo(executors.length)) {
return new PowerOfTwoEventExecutorChooser(executors);
} else {
return new GenericEventExecutorChooser(executors);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does EventExecutorChooser() do?
EventExecutorChooser() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/DefaultEventExecutorChooserFactory.java.
Where is EventExecutorChooser() defined?
EventExecutorChooser() is defined in common/src/main/java/io/netty/util/concurrent/DefaultEventExecutorChooserFactory.java at line 30.
What does EventExecutorChooser() call?
EventExecutorChooser() calls 3 function(s): GenericEventExecutorChooser, PowerOfTwoEventExecutorChooser, isPowerOfTwo.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free