Home / Function/ EventLoop() — netty Function Reference

EventLoop() — netty Function Reference

Architecture documentation for the EventLoop() function in MultiThreadIoEventLoopGroup.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  766fc172_db2e_5276_fbe3_b480e0c312cf["EventLoop()"]
  da9d8731_208a_f788_15d3_f12fba3923ea["MultiThreadIoEventLoopGroup"]
  766fc172_db2e_5276_fbe3_b480e0c312cf -->|defined in| da9d8731_208a_f788_15d3_f12fba3923ea
  style 766fc172_db2e_5276_fbe3_b480e0c312cf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/MultiThreadIoEventLoopGroup.java lines 188–199

    @Override
    protected EventLoop newChild(Executor executor, Object... args) throws Exception {
        IoHandlerFactory handlerFactory = (IoHandlerFactory) args[0];
        Object[] argsCopy;
        if (args.length > 1) {
            argsCopy = new Object[args.length - 1];
            System.arraycopy(args, 1, argsCopy, 0, argsCopy.length);
        } else {
            argsCopy = EmptyArrays.EMPTY_OBJECTS;
        }
        return newChild(executor, handlerFactory, argsCopy);
    }

Domain

Subdomains

Frequently Asked Questions

What does EventLoop() do?
EventLoop() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/MultiThreadIoEventLoopGroup.java.
Where is EventLoop() defined?
EventLoop() is defined in transport/src/main/java/io/netty/channel/MultiThreadIoEventLoopGroup.java at line 188.

Analyze Your Own Codebase

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

Try Supermodel Free