submitAndClearNow() — netty Function Reference
Architecture documentation for the submitAndClearNow() function in IoUringIoHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b5491639_cc1a_93b0_792f_d7ada8778728["submitAndClearNow()"] 54b1e24c_acd2_7686_4313_2695f1b73de1["IoUringIoHandler"] b5491639_cc1a_93b0_792f_d7ada8778728 -->|defined in| 54b1e24c_acd2_7686_4313_2695f1b73de1 3febc8f5_f331_c39c_6774_12a24143add8["run()"] 3febc8f5_f331_c39c_6774_12a24143add8 -->|calls| b5491639_cc1a_93b0_792f_d7ada8778728 00f4b33f_14c8_6a03_69e4_20eca4fce924["processCompletionsAndHandleOverflow()"] 00f4b33f_14c8_6a03_69e4_20eca4fce924 -->|calls| b5491639_cc1a_93b0_792f_d7ada8778728 813b19d7_938d_b171_0fc1_98afafdda90c["IovArray()"] 813b19d7_938d_b171_0fc1_98afafdda90c -->|calls| b5491639_cc1a_93b0_792f_d7ada8778728 e29ca84e_5eb3_b5a0_77bb_b059e1e358c5["MsgHdrMemoryArray()"] e29ca84e_5eb3_b5a0_77bb_b059e1e358c5 -->|calls| b5491639_cc1a_93b0_792f_d7ada8778728 style b5491639_cc1a_93b0_792f_d7ada8778728 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java lines 215–223
private int submitAndClearNow(SubmissionQueue submissionQueue) {
int submitted = submissionQueue.submitAndGetNow();
// Clear the iovArray as we can re-use it now as things are considered stable after submission:
// See https://man7.org/linux/man-pages/man3/io_uring_prep_sendmsg.3.html
iovArray.clear();
msgHdrMemoryArray.clear();
return submitted;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does submitAndClearNow() do?
submitAndClearNow() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java.
Where is submitAndClearNow() defined?
submitAndClearNow() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java at line 215.
What calls submitAndClearNow()?
submitAndClearNow() is called by 4 function(s): IovArray, MsgHdrMemoryArray, processCompletionsAndHandleOverflow, run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free