Home / Function/ cancelOutstandingReads() — netty Function Reference

cancelOutstandingReads() — netty Function Reference

Architecture documentation for the cancelOutstandingReads() function in AbstractIoUringServerChannel.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d7fa4bd2_a825_fc31_c2a3_595351bf1c16["cancelOutstandingReads()"]
  4efc122f_d4e7_90e6_51cb_c7fd75b903c4["AbstractIoUringServerChannel"]
  d7fa4bd2_a825_fc31_c2a3_595351bf1c16 -->|defined in| 4efc122f_d4e7_90e6_51cb_c7fd75b903c4
  style d7fa4bd2_a825_fc31_c2a3_595351bf1c16 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringServerChannel.java lines 112–122

    @Override
    protected final void cancelOutstandingReads(IoRegistration registration, int numOutstandingReads) {
        if (acceptId != 0) {
            assert numOutstandingReads == 1 || numOutstandingReads == -1;
            IoUringIoOps ops = IoUringIoOps.newAsyncCancel((byte) 0, acceptId, Native.IORING_OP_ACCEPT);
            registration.submit(ops);
            acceptId = 0;
        } else {
            assert numOutstandingReads == 0 || numOutstandingReads == -1;
        }
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free