Home / Function/ execute() — netty Function Reference

execute() — netty Function Reference

Architecture documentation for the execute() function in ManualEventLoopTest.java from the netty codebase.

Function java Buffer Search called by 2

Entity Profile

Dependency Diagram

graph TD
  d3622feb_d0a1_b069_819a_5203feae0519["execute()"]
  e61f0aaf_7cf5_2dea_972c_51997ee44af8["ManualIoEventLoopRunner"]
  d3622feb_d0a1_b069_819a_5203feae0519 -->|defined in| e61f0aaf_7cf5_2dea_972c_51997ee44af8
  e2eaad12_7108_a22e_49dd_3bdd336a1360["racyOtherSubmissionMissWakeup()"]
  e2eaad12_7108_a22e_49dd_3bdd336a1360 -->|calls| d3622feb_d0a1_b069_819a_5203feae0519
  569fe781_e331_036b_7453_a3b8c5422375["ManualIoEventLoopRunner()"]
  569fe781_e331_036b_7453_a3b8c5422375 -->|calls| d3622feb_d0a1_b069_819a_5203feae0519
  style d3622feb_d0a1_b069_819a_5203feae0519 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-native-epoll/src/test/java/io/netty/channel/epoll/ManualEventLoopTest.java lines 213–221

            public void execute(Runnable otherTask) {
                otherTasks.add(otherTask);
                if (ioEventLoop.isShutdown()) {
                    if (otherTasks.remove(otherTask)) {
                        throw new RejectedExecutionException("Event loop shut down");
                    }
                }
                ioEventLoop.wakeup();
            }

Domain

Subdomains

Frequently Asked Questions

What does execute() do?
execute() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/ManualEventLoopTest.java.
Where is execute() defined?
execute() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/ManualEventLoopTest.java at line 213.
What calls execute()?
execute() is called by 2 function(s): ManualIoEventLoopRunner, racyOtherSubmissionMissWakeup.

Analyze Your Own Codebase

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

Try Supermodel Free