run() — netty Function Reference
Architecture documentation for the run() function in LocalIoHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1b80a13a_54d9_f16b_15cf_d9600d573185["run()"] e3950750_3868_3ca4_8f61_b48a1a74312e["LocalIoHandler"] 1b80a13a_54d9_f16b_15cf_d9600d573185 -->|defined in| e3950750_3868_3ca4_8f61_b48a1a74312e 93a37c09_c389_c6e8_8557_99810c78bd4a["wakeup()"] 1b80a13a_54d9_f16b_15cf_d9600d573185 -->|calls| 93a37c09_c389_c6e8_8557_99810c78bd4a style 1b80a13a_54d9_f16b_15cf_d9600d573185 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/local/LocalIoHandler.java lines 56–70
@Override
public int run(IoHandlerContext context) {
if (executionThread == null) {
executionThread = Thread.currentThread();
}
if (context.canBlock()) {
// Just block until there is a task ready to process or wakeup(...) is called.
LockSupport.parkNanos(this, context.delayNanos(System.nanoTime()));
}
if (context.shouldReportActiveIoTime()) {
context.reportActiveIoTime(0);
}
return 0;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does run() do?
run() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/local/LocalIoHandler.java.
Where is run() defined?
run() is defined in transport/src/main/java/io/netty/channel/local/LocalIoHandler.java at line 56.
What does run() call?
run() calls 1 function(s): wakeup.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free