Home / Type/ EventLoopGroup Type — netty Architecture

EventLoopGroup Type — netty Architecture

Architecture documentation for the EventLoopGroup type/interface in EventLoopGroup.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  33862b67_3970_79f0_1805_65c678c9b5b1["EventLoopGroup"]
  059c1c4f_28e7_4a79_06bb_0bab34cc2860["EventLoopGroup.java"]
  33862b67_3970_79f0_1805_65c678c9b5b1 -->|defined in| 059c1c4f_28e7_4a79_06bb_0bab34cc2860
  style 33862b67_3970_79f0_1805_65c678c9b5b1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/EventLoopGroup.java lines 25–52

public interface EventLoopGroup extends EventExecutorGroup {
    /**
     * Return the next {@link EventLoop} to use
     */
    @Override
    EventLoop next();

    /**
     * Register a {@link Channel} with this {@link EventLoop}. The returned {@link ChannelFuture}
     * will get notified once the registration was complete.
     */
    ChannelFuture register(Channel channel);

    /**
     * Register a {@link Channel} with this {@link EventLoop} using a {@link ChannelFuture}. The passed
     * {@link ChannelFuture} will get notified once the registration was complete and also will get returned.
     */
    ChannelFuture register(ChannelPromise promise);

    /**
     * Register a {@link Channel} with this {@link EventLoop}. The passed {@link ChannelFuture}
     * will get notified once the registration was complete and also will get returned.
     *
     * @deprecated Use {@link #register(ChannelPromise)} instead.
     */
    @Deprecated
    ChannelFuture register(Channel channel, ChannelPromise promise);
}

Frequently Asked Questions

What is the EventLoopGroup type?
EventLoopGroup is a type/interface in the netty codebase, defined in transport/src/main/java/io/netty/channel/EventLoopGroup.java.
Where is EventLoopGroup defined?
EventLoopGroup is defined in transport/src/main/java/io/netty/channel/EventLoopGroup.java at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free