DrainFdEventCallback Class — netty Architecture
Architecture documentation for the DrainFdEventCallback class in IoUringIoHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a3d5e935_d8ed_de31_c2ff_1f8ef58fb4f1["DrainFdEventCallback"] b567715e_8085_11b5_5111_a83c7d3cb07a["IoUringIoHandler.java"] a3d5e935_d8ed_de31_c2ff_1f8ef58fb4f1 -->|defined in| b567715e_8085_11b5_5111_a83c7d3cb07a c383fc0a_d7fb_3852_5d00_9fe6095f91f7["handle()"] a3d5e935_d8ed_de31_c2ff_1f8ef58fb4f1 -->|method| c383fc0a_d7fb_3852_5d00_9fe6095f91f7
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java lines 419–429
class DrainFdEventCallback implements CompletionCallback {
boolean eventFdDrained;
@Override
public void handle(int res, int flags, long udata, ByteBuffer extraCqeData) {
if (UserData.decodeId(udata) == EVENTFD_ID) {
eventFdDrained = true;
}
IoUringIoHandler.this.handle(res, flags, udata, extraCqeData);
}
}
Source
Frequently Asked Questions
What is the DrainFdEventCallback class?
DrainFdEventCallback is a class in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java.
Where is DrainFdEventCallback defined?
DrainFdEventCallback is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java at line 419.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free