Home / Function/ schedulePollAdd() — netty Function Reference

schedulePollAdd() — netty Function Reference

Architecture documentation for the schedulePollAdd() function in AbstractIoUringChannel.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  cade9a03_d067_f2cc_36c1_fe22cad8bbb9["schedulePollAdd()"]
  9a4cac3b_00a7_737a_49b1_42ae60ccb637["AbstractIoUringChannel"]
  cade9a03_d067_f2cc_36c1_fe22cad8bbb9 -->|defined in| 9a4cac3b_00a7_737a_49b1_42ae60ccb637
  9297de32_6d49_794c_9a51_19eaa6d72911["schedulePollOut()"]
  9297de32_6d49_794c_9a51_19eaa6d72911 -->|calls| cade9a03_d067_f2cc_36c1_fe22cad8bbb9
  0351d9d9_b23a_b9e1_6456_cfaeba8a92d4["schedulePollRdHup()"]
  0351d9d9_b23a_b9e1_6456_cfaeba8a92d4 -->|calls| cade9a03_d067_f2cc_36c1_fe22cad8bbb9
  9409d28f_f298_e694_0b72_3ae14f97de01["schedulePollIn()"]
  9409d28f_f298_e694_0b72_3ae14f97de01 -->|calls| cade9a03_d067_f2cc_36c1_fe22cad8bbb9
  1ba81e82_52fd_8c00_5349_286d47207e92["nextOpsId()"]
  cade9a03_d067_f2cc_36c1_fe22cad8bbb9 -->|calls| 1ba81e82_52fd_8c00_5349_286d47207e92
  style cade9a03_d067_f2cc_36c1_fe22cad8bbb9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java lines 414–425

    private long schedulePollAdd(int ioMask, int mask, boolean multishot) {
        assert (ioState & ioMask) == 0;
        int fd = fd().intValue();
        IoRegistration registration = registration();
        IoUringIoOps ops = IoUringIoOps.newPollAdd(
                fd, (byte) 0, mask, multishot ? Native.IORING_POLL_ADD_MULTI : 0, nextOpsId());
        long id = registration.submit(ops);
        if (id != 0) {
            ioState |= (byte) ioMask;
        }
        return id;
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does schedulePollAdd() do?
schedulePollAdd() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java.
Where is schedulePollAdd() defined?
schedulePollAdd() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java at line 414.
What does schedulePollAdd() call?
schedulePollAdd() calls 1 function(s): nextOpsId.
What calls schedulePollAdd()?
schedulePollAdd() is called by 3 function(s): schedulePollIn, schedulePollOut, schedulePollRdHup.

Analyze Your Own Codebase

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

Try Supermodel Free