Home / Function/ IoEventLoop() — netty Function Reference

IoEventLoop() — netty Function Reference

Architecture documentation for the IoEventLoop() function in EpollEventLoopGroup.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  f1815b7a_07d1_0813_2817_642b80f87516["IoEventLoop()"]
  7eca32f1_ce25_920b_6393_20a47b536826["EpollEventLoopGroup"]
  f1815b7a_07d1_0813_2817_642b80f87516 -->|defined in| 7eca32f1_ce25_920b_6393_20a47b536826
  style f1815b7a_07d1_0813_2817_642b80f87516 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollEventLoopGroup.java lines 185–200

    @Override
    protected IoEventLoop newChild(Executor executor, IoHandlerFactory ioHandlerFactory, Object... args) {
        RejectedExecutionHandler rejectedExecutionHandler = (RejectedExecutionHandler) args[0];
        EventLoopTaskQueueFactory taskQueueFactory = null;
        EventLoopTaskQueueFactory tailTaskQueueFactory = null;

        int argsLength = args.length;
        if (argsLength > 1) {
            taskQueueFactory = (EventLoopTaskQueueFactory) args[1];
        }
        if (argsLength > 2) {
            tailTaskQueueFactory = (EventLoopTaskQueueFactory) args[2];
        }
        return new EpollEventLoop(this, executor, ioHandlerFactory, taskQueueFactory, tailTaskQueueFactory,
                rejectedExecutionHandler);
    }

Domain

Subdomains

Frequently Asked Questions

What does IoEventLoop() do?
IoEventLoop() is a function in the netty codebase, defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollEventLoopGroup.java.
Where is IoEventLoop() defined?
IoEventLoop() is defined in transport-classes-epoll/src/main/java/io/netty/channel/epoll/EpollEventLoopGroup.java at line 185.

Analyze Your Own Codebase

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

Try Supermodel Free