Home / Function/ IoEventLoop() — netty Function Reference

IoEventLoop() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  02a3b124_a627_d97d_f4ae_43000cc61e3e["IoEventLoop()"]
  86d6005d_218c_8b2b_49dc_f52651ea34bf["NioEventLoopGroup"]
  02a3b124_a627_d97d_f4ae_43000cc61e3e -->|defined in| 86d6005d_218c_8b2b_49dc_f52651ea34bf
  style 02a3b124_a627_d97d_f4ae_43000cc61e3e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/nio/NioEventLoopGroup.java lines 179–194

    @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 NioEventLoop(
                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/src/main/java/io/netty/channel/nio/NioEventLoopGroup.java.
Where is IoEventLoop() defined?
IoEventLoop() is defined in transport/src/main/java/io/netty/channel/nio/NioEventLoopGroup.java at line 179.

Analyze Your Own Codebase

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

Try Supermodel Free