Home / Function/ scheduleRead0() — netty Function Reference

scheduleRead0() — netty Function Reference

Architecture documentation for the scheduleRead0() function in IoUringDomainSocketChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  9f4cc00d_73a2_67b4_0b9e_3397fce40777["scheduleRead0()"]
  dc99258d_71a6_9064_ca08_361c0964e22e["IoUringDomainSocketUnsafe"]
  9f4cc00d_73a2_67b4_0b9e_3397fce40777 -->|defined in| dc99258d_71a6_9064_ca08_361c0964e22e
  f3066102_b27b_d743_8c60_561f9d9cfbcb["scheduleRecvReadFd()"]
  9f4cc00d_73a2_67b4_0b9e_3397fce40777 -->|calls| f3066102_b27b_d743_8c60_561f9d9cfbcb
  style 9f4cc00d_73a2_67b4_0b9e_3397fce40777 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

        @Override
        protected int scheduleRead0(boolean first, boolean socketIsEmpty) {
            DomainSocketReadMode readMode = config.getReadMode();
            switch (readMode) {
                case FILE_DESCRIPTORS:
                    return scheduleRecvReadFd();
                case BYTES:
                    return super.scheduleRead0(first, socketIsEmpty);
                default:
                    throw new Error("Unexpected read mode: " + readMode);
            }
        }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free