Home / Function/ EventExecutor() — netty Function Reference

EventExecutor() — netty Function Reference

Architecture documentation for the EventExecutor() function in AbstractBootstrap.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9e85d47c_b36c_eeae_abba_3cc217f990e4["EventExecutor()"]
  2a24a3b8_d474_4266_d873_e2c2514309a4["PendingRegistrationPromise"]
  9e85d47c_b36c_eeae_abba_3cc217f990e4 -->|defined in| 2a24a3b8_d474_4266_d873_e2c2514309a4
  style 9e85d47c_b36c_eeae_abba_3cc217f990e4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/bootstrap/AbstractBootstrap.java lines 525–535

        @Override
        protected EventExecutor executor() {
            if (registered) {
                // If the registration was a success executor is set.
                //
                // See https://github.com/netty/netty/issues/2586
                return super.executor();
            }
            // The registration failed so we can only use the GlobalEventExecutor as last resort to notify.
            return GlobalEventExecutor.INSTANCE;
        }

Domain

Subdomains

Frequently Asked Questions

What does EventExecutor() do?
EventExecutor() is a function in the netty codebase, defined in transport/src/main/java/io/netty/bootstrap/AbstractBootstrap.java.
Where is EventExecutor() defined?
EventExecutor() is defined in transport/src/main/java/io/netty/bootstrap/AbstractBootstrap.java at line 525.

Analyze Your Own Codebase

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

Try Supermodel Free