ManualIoEventLoopRunner() — netty Function Reference
Architecture documentation for the ManualIoEventLoopRunner() function in ManualEventLoopTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 569fe781_e331_036b_7453_a3b8c5422375["ManualIoEventLoopRunner()"] e61f0aaf_7cf5_2dea_972c_51997ee44af8["ManualIoEventLoopRunner"] 569fe781_e331_036b_7453_a3b8c5422375 -->|defined in| e61f0aaf_7cf5_2dea_972c_51997ee44af8 65b772a9_71aa_aea5_5a11_9c5cf53a49df["IoEventLoop()"] 65b772a9_71aa_aea5_5a11_9c5cf53a49df -->|calls| 569fe781_e331_036b_7453_a3b8c5422375 d3622feb_d0a1_b069_819a_5203feae0519["execute()"] 569fe781_e331_036b_7453_a3b8c5422375 -->|calls| d3622feb_d0a1_b069_819a_5203feae0519 0cd60ac9_8ee4_d40c_6ef2_249d540cc521["mainLoop()"] 569fe781_e331_036b_7453_a3b8c5422375 -->|calls| 0cd60ac9_8ee4_d40c_6ef2_249d540cc521 style 569fe781_e331_036b_7453_a3b8c5422375 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-native-epoll/src/test/java/io/netty/channel/epoll/ManualEventLoopTest.java lines 161–186
ManualIoEventLoopRunner(IoEventLoopGroup parent, IoHandlerFactory factory,
Executor executor, Consumer<Executor> beforeCanBlock) {
this.ioEventLoop = new ManualIoEventLoop(parent, null, factory) {
@Override
protected boolean canBlock() {
if (beforeCanBlock != null) {
beforeCanBlock.accept(ManualIoEventLoopRunner.this);
}
return otherTasks.isEmpty();
}
};
CountDownLatch started = new CountDownLatch(1);
executor.execute(() -> {
ioEventLoop.setOwningThread(Thread.currentThread());
// it would force a first init
ioEventLoop.runNow();
started.countDown();
mainLoop();
});
try {
started.await();
} catch (InterruptedException e) {
Thread.currentThread().interrupt();
throw new RuntimeException(e);
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does ManualIoEventLoopRunner() do?
ManualIoEventLoopRunner() is a function in the netty codebase, defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/ManualEventLoopTest.java.
Where is ManualIoEventLoopRunner() defined?
ManualIoEventLoopRunner() is defined in transport-native-epoll/src/test/java/io/netty/channel/epoll/ManualEventLoopTest.java at line 161.
What does ManualIoEventLoopRunner() call?
ManualIoEventLoopRunner() calls 2 function(s): execute, mainLoop.
What calls ManualIoEventLoopRunner()?
ManualIoEventLoopRunner() is called by 1 function(s): IoEventLoop.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free