register() — netty Function Reference
Architecture documentation for the register() function in SingleThreadIoEventLoop.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4f1e6e08_477c_0f5f_de68_9d9cb2f051a6["register()"] b5a24862_948e_3d05_bb70_270a6c4842a9["SingleThreadIoEventLoop"] 4f1e6e08_477c_0f5f_de68_9d9cb2f051a6 -->|defined in| b5a24862_948e_3d05_bb70_270a6c4842a9 6b494a0c_b088_3d36_2290_76b03d4be72b["registerForIo0()"] 4f1e6e08_477c_0f5f_de68_9d9cb2f051a6 -->|calls| 6b494a0c_b088_3d36_2290_76b03d4be72b style 4f1e6e08_477c_0f5f_de68_9d9cb2f051a6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/SingleThreadIoEventLoop.java lines 233–243
@Override
public final Future<IoRegistration> register(final IoHandle handle) {
Promise<IoRegistration> promise = newPromise();
if (inEventLoop()) {
registerForIo0(handle, promise);
} else {
execute(() -> registerForIo0(handle, promise));
}
return promise;
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does register() do?
register() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/SingleThreadIoEventLoop.java.
Where is register() defined?
register() is defined in transport/src/main/java/io/netty/channel/SingleThreadIoEventLoop.java at line 233.
What does register() call?
register() calls 1 function(s): registerForIo0.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free