Home / Function/ writeComplete0() — netty Function Reference

writeComplete0() — netty Function Reference

Architecture documentation for the writeComplete0() function in IoUringSocketChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  dcd5c4bc_b917_8522_f921_423669622aee["writeComplete0()"]
  e27b80ce_bfb2_8300_cc64_6e66bd077b74["IoUringSocketUnsafe"]
  dcd5c4bc_b917_8522_f921_423669622aee -->|defined in| e27b80ce_bfb2_8300_cc64_6e66bd077b74
  626c6aa0_ad4d_dc38_b746_2ca9d0e89cfe["handleWriteCompleteZeroCopy()"]
  dcd5c4bc_b917_8522_f921_423669622aee -->|calls| 626c6aa0_ad4d_dc38_b746_2ca9d0e89cfe
  style dcd5c4bc_b917_8522_f921_423669622aee fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannel.java lines 179–186

        @Override
        boolean writeComplete0(byte op, int res, int flags, short data, int outstanding) {
            ChannelOutboundBuffer channelOutboundBuffer = unsafe().outboundBuffer();
            if (op == Native.IORING_OP_SEND_ZC || op == Native.IORING_OP_SENDMSG_ZC) {
                return handleWriteCompleteZeroCopy(op, channelOutboundBuffer, res, flags);
            }
            return super.writeComplete0(op, res, flags, data, outstanding);
        }

Domain

Subdomains

Frequently Asked Questions

What does writeComplete0() do?
writeComplete0() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannel.java.
Where is writeComplete0() defined?
writeComplete0() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannel.java at line 179.
What does writeComplete0() call?
writeComplete0() calls 1 function(s): handleWriteCompleteZeroCopy.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free