EventExecutorChooserFactory Type — netty Architecture
Architecture documentation for the EventExecutorChooserFactory type/interface in EventExecutorChooserFactory.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b717c38c_0e30_f7c6_1b4e_5966a3611d62["EventExecutorChooserFactory"] 93cae330_5ef5_0c7d_42b7_a43c88c3fe78["EventExecutorChooserFactory.java"] b717c38c_0e30_f7c6_1b4e_5966a3611d62 -->|defined in| 93cae330_5ef5_0c7d_42b7_a43c88c3fe78 style b717c38c_0e30_f7c6_1b4e_5966a3611d62 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/concurrent/EventExecutorChooserFactory.java lines 25–62
public interface EventExecutorChooserFactory {
/**
* Returns a new {@link EventExecutorChooser}.
*/
EventExecutorChooser newChooser(EventExecutor[] executors);
/**
* Chooses the next {@link EventExecutor} to use.
*/
interface EventExecutorChooser {
/**
* Returns the new {@link EventExecutor} to use.
*/
EventExecutor next();
}
/**
* An {@link EventExecutorChooser} that exposes metrics for observation.
*/
interface ObservableEventExecutorChooser extends EventExecutorChooser {
/**
* Returns the current number of active {@link EventExecutor}s.
* @return the number of active executors.
*/
int activeExecutorCount();
/**
* Returns a list containing the last calculated utilization for each
* {@link EventExecutor} in the group.
*
* @return an umodifiable view of the executor utilizations.
*/
List<AutoScalingUtilizationMetric> executorUtilizations();
}
}
Source
Frequently Asked Questions
What is the EventExecutorChooserFactory type?
EventExecutorChooserFactory is a type/interface in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/EventExecutorChooserFactory.java.
Where is EventExecutorChooserFactory defined?
EventExecutorChooserFactory is defined in common/src/main/java/io/netty/util/concurrent/EventExecutorChooserFactory.java at line 25.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free