CompletionCallback Type — netty Architecture
Architecture documentation for the CompletionCallback type/interface in CompletionCallback.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 34029eb2_eb0b_1546_95af_30fe6db1c04f["CompletionCallback"] 76230746_3400_4f74_4584_4de7a992da47["CompletionCallback.java"] 34029eb2_eb0b_1546_95af_30fe6db1c04f -->|defined in| 76230746_3400_4f74_4584_4de7a992da47 style 34029eb2_eb0b_1546_95af_30fe6db1c04f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/CompletionCallback.java lines 20–34
interface CompletionCallback {
/**
* Called for a completion event that was put into the {@link CompletionQueue}.
*
* @param res the result of the completion event.
* @param flags the flags
* @param udata the user data that was provided as part of the submission
* @param extraCqeData the extra data for the CQE. This will only be non-null of the ring was setup with
* {@code IORING_SETUP_CQE32} or {@code IORING_SETUP_CQE_MIXED} and {@code IORING_CQE_F_32} is
* set in {@code flags}.
* @return {@code true} if we more data (in a loop) can be handled be this callback, {@code false}
* otherwise.
*/
void handle(int res, int flags, long udata, ByteBuffer extraCqeData);
}
Source
Frequently Asked Questions
What is the CompletionCallback type?
CompletionCallback is a type/interface in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/CompletionCallback.java.
Where is CompletionCallback defined?
CompletionCallback is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/CompletionCallback.java at line 20.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free