Home / Function/ filterWriteMultiple() — netty Function Reference

filterWriteMultiple() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  44577e5e_5a86_7023_ae99_44135e519908["filterWriteMultiple()"]
  e27b80ce_bfb2_8300_cc64_6e66bd077b74["IoUringSocketUnsafe"]
  44577e5e_5a86_7023_ae99_44135e519908 -->|defined in| e27b80ce_bfb2_8300_cc64_6e66bd077b74
  style 44577e5e_5a86_7023_ae99_44135e519908 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

        @Override
        protected ChannelOutboundBuffer.MessageProcessor filterWriteMultiple(IovArray iovArray) {
            IoUringSocketChannelConfig ioUringSocketChannelConfig = (IoUringSocketChannelConfig) config();
            return new ChannelOutboundBuffer.MessageProcessor() {
                @Override
                public boolean processMessage(Object msg) throws Exception {
                    if (msg instanceof ByteBuf) {
                        ByteBuf buf = (ByteBuf) msg;
                        int length = buf.readableBytes();
                        if (ioUringSocketChannelConfig.shouldWriteZeroCopy(length)) {
                            return false;
                        }
                    }
                    return iovArray.processMessage(msg);
                }
            };
        }

Domain

Subdomains

Frequently Asked Questions

What does filterWriteMultiple() do?
filterWriteMultiple() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannel.java.
Where is filterWriteMultiple() defined?
filterWriteMultiple() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringSocketChannel.java at line 161.

Analyze Your Own Codebase

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

Try Supermodel Free