Home / Class/ LocalEventLoopGroup Class — netty Architecture

LocalEventLoopGroup Class — netty Architecture

Architecture documentation for the LocalEventLoopGroup class in LocalEventLoopGroup.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  02cd5cb0_160b_6ab6_f3ca_0456a406e84a["LocalEventLoopGroup"]
  6a529856_6542_10b0_f87d_a908f8105999["LocalEventLoopGroup.java"]
  02cd5cb0_160b_6ab6_f3ca_0456a406e84a -->|defined in| 6a529856_6542_10b0_f87d_a908f8105999
  35d1616b_12b6_5ce9_6d4b_bd6a74b82b5c["LocalEventLoopGroup()"]
  02cd5cb0_160b_6ab6_f3ca_0456a406e84a -->|method| 35d1616b_12b6_5ce9_6d4b_bd6a74b82b5c

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/local/LocalEventLoopGroup.java lines 25–62

@Deprecated
public class LocalEventLoopGroup extends MultiThreadIoEventLoopGroup {

    /**
     * Create a new instance with the default number of threads.
     */
    public LocalEventLoopGroup() {
        this(0);
    }

    /**
     * Create a new instance
     *
     * @param nThreads          the number of threads to use
     */
    public LocalEventLoopGroup(int nThreads) {
        this(nThreads, null);
    }

    /**
     * Create a new instance with the default number of threads and the given {@link ThreadFactory}.
     *
     * @param threadFactory     the {@link ThreadFactory} or {@code null} to use the default
     */
    public LocalEventLoopGroup(ThreadFactory threadFactory) {
        this(0, threadFactory);
    }

    /**
     * Create a new instance
     *
     * @param nThreads          the number of threads to use
     * @param threadFactory     the {@link ThreadFactory} or {@code null} to use the default
     */
    public LocalEventLoopGroup(int nThreads, ThreadFactory threadFactory) {
        super(nThreads, threadFactory, LocalIoHandler.newFactory());
    }
}

Frequently Asked Questions

What is the LocalEventLoopGroup class?
LocalEventLoopGroup is a class in the netty codebase, defined in transport/src/main/java/io/netty/channel/local/LocalEventLoopGroup.java.
Where is LocalEventLoopGroup defined?
LocalEventLoopGroup is defined in transport/src/main/java/io/netty/channel/local/LocalEventLoopGroup.java at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free