IoRegistration() — netty Function Reference
Architecture documentation for the IoRegistration() function in IoUringIoHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD d83dee93_8b81_9b0c_d9df_f5ed2eb93002["IoRegistration()"] 54b1e24c_acd2_7686_4313_2695f1b73de1["IoUringIoHandler"] d83dee93_8b81_9b0c_d9df_f5ed2eb93002 -->|defined in| 54b1e24c_acd2_7686_4313_2695f1b73de1 7b7c68d9_7d0a_54b0_a9b7_25aaf2764a02["DefaultIoUringIoRegistration()"] d83dee93_8b81_9b0c_d9df_f5ed2eb93002 -->|calls| 7b7c68d9_7d0a_54b0_a9b7_25aaf2764a02 23209671_1488_1c5a_e109_8d220510adc3["nextRegistrationId()"] d83dee93_8b81_9b0c_d9df_f5ed2eb93002 -->|calls| 23209671_1488_1c5a_e109_8d220510adc3 3165a179_9cb0_3ddf_2c03_dfb33d745b84["setId()"] d83dee93_8b81_9b0c_d9df_f5ed2eb93002 -->|calls| 3165a179_9cb0_3ddf_2c03_dfb33d745b84 style d83dee93_8b81_9b0c_d9df_f5ed2eb93002 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java lines 466–487
@Override
public IoRegistration register(IoHandle handle) throws Exception {
IoUringIoHandle ioHandle = cast(handle);
if (shuttingDown) {
throw new IllegalStateException("IoUringIoHandler is shutting down");
}
DefaultIoUringIoRegistration registration = new DefaultIoUringIoRegistration(executor, ioHandle);
for (;;) {
int id = nextRegistrationId();
DefaultIoUringIoRegistration old = registrations.put(id, registration);
if (old != null) {
assert old.handle != registration.handle;
registrations.put(id, old);
} else {
registration.setId(id);
ioHandle.registered();
break;
}
}
return registration;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does IoRegistration() do?
IoRegistration() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java.
Where is IoRegistration() defined?
IoRegistration() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java at line 466.
What does IoRegistration() call?
IoRegistration() calls 3 function(s): DefaultIoUringIoRegistration, nextRegistrationId, setId.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free