run() — netty Function Reference
Architecture documentation for the run() function in DefaultEventLoopTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3a69e567_258e_ca7f_a3f0_df50f6920f38["run()"] 127ddee2_f855_978a_5ee1_44b8c3ed9eb3["SuspendableDefaultEventLoop"] 3a69e567_258e_ca7f_a3f0_df50f6920f38 -->|defined in| 127ddee2_f855_978a_5ee1_44b8c3ed9eb3 style 3a69e567_258e_ca7f_a3f0_df50f6920f38 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
testsuite/src/main/java/io/netty/testsuite/transport/DefaultEventLoopTest.java lines 86–105
@Override
protected void run() {
for (;;) {
Runnable task = takeTask();
if (task != null) {
runTask(task);
updateLastExecutionTime();
}
// Check if a suspend is requested and we have no more tasks. If so,
// exit the run() method to allow the suspension to complete.
if (canSuspend()) {
break;
}
if (confirmShutdown()) {
break;
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does run() do?
run() is a function in the netty codebase, defined in testsuite/src/main/java/io/netty/testsuite/transport/DefaultEventLoopTest.java.
Where is run() defined?
run() is defined in testsuite/src/main/java/io/netty/testsuite/transport/DefaultEventLoopTest.java at line 86.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free