addFlushedToZcWriteQueue() — netty Function Reference
Architecture documentation for the addFlushedToZcWriteQueue() function in IoUringSocketChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD c407f41d_0b12_e058_54db_d479a9fbc591["addFlushedToZcWriteQueue()"] e27b80ce_bfb2_8300_cc64_6e66bd077b74["IoUringSocketUnsafe"] c407f41d_0b12_e058_54db_d479a9fbc591 -->|defined in| e27b80ce_bfb2_8300_cc64_6e66bd077b74 626c6aa0_ad4d_dc38_b746_2ca9d0e89cfe["handleWriteCompleteZeroCopy()"] 626c6aa0_ad4d_dc38_b746_2ca9d0e89cfe -->|calls| c407f41d_0b12_e058_54db_d479a9fbc591 style c407f41d_0b12_e058_54db_d479a9fbc591 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannel.java lines 293–309
private void addFlushedToZcWriteQueue(ChannelOutboundBuffer channelOutboundBuffer) throws Exception {
// We expect another notification as handleWriteError(...) will fail all flushed writes
// and also release any buffers we need to ensure we retain these buffers
// so we can release these once we see IORING_CQE_F_NOTIF set.
try {
channelOutboundBuffer.forEachFlushedMessage(m -> {
if (!(m instanceof ByteBuf)) {
return false;
}
zcWriteQueue.add(m);
((ByteBuf) m).retain();
return true;
});
} finally {
zcWriteQueue.add(ZC_BATCH_MARKER);
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does addFlushedToZcWriteQueue() do?
addFlushedToZcWriteQueue() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannel.java.
Where is addFlushedToZcWriteQueue() defined?
addFlushedToZcWriteQueue() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannel.java at line 293.
What calls addFlushedToZcWriteQueue()?
addFlushedToZcWriteQueue() is called by 1 function(s): handleWriteCompleteZeroCopy.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free