EventLoopGroup vs EventExecutorGroup¶
In the Netty framework architecture, the relationship between EventLoopGroup and EventExecutorGroup is defined by direct inheritance and specialization.^[600-developer-big-data-netty-netty-eventloopgroup.md]
Core Relationship¶
The EventLoopGroup interface is a specialized extension of the EventExecutorGroup interface, meaning that every EventLoopGroup is technically an EventExecutorGroup, but with specific features tailored for I/O operations.^[600-developer-big-data-netty-netty-eventloopgroup.md]
Class Hierarchy¶
This inheritance is reflected in the implementation hierarchy, where classes defining the "Loop" functionality extend their corresponding generic "Executor" parent classes.^[600-developer-big-data-netty-netty-eventloopgroup.md]
MultithreadEventLoopGroupextendsMultithreadEventExecutorGroup^[600-developer-big-data-netty-netty-eventloopgroup.md]NioEventLoopGroupis a standard implementation of theMultithreadEventLoopGroup^[600-developer-big-data-netty-netty-eventloopgroup.md]
Related Concepts¶
- NioEventLoopGroup
- [[EventExecutor]]
- [[java.util.concurrent.Executor]]
Sources¶
^[600-developer-big-data-netty-netty-eventloopgroup.md]