Home / Function/ clearRead() — netty Function Reference

clearRead() — netty Function Reference

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

Function java Buffer Search calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  d0e504b9_9bc1_1d29_75fd_2c767ed8b749["clearRead()"]
  9a4cac3b_00a7_737a_49b1_42ae60ccb637["AbstractIoUringChannel"]
  d0e504b9_9bc1_1d29_75fd_2c767ed8b749 -->|defined in| 9a4cac3b_00a7_737a_49b1_42ae60ccb637
  8bed10a9_41d6_7cce_dd5b_d901c04ac9bd["autoReadCleared()"]
  8bed10a9_41d6_7cce_dd5b_d901c04ac9bd -->|calls| d0e504b9_9bc1_1d29_75fd_2c767ed8b749
  4322bd6c_f77e_8852_f769_2518a4dfe305["cancelOutstandingReads()"]
  d0e504b9_9bc1_1d29_75fd_2c767ed8b749 -->|calls| 4322bd6c_f77e_8852_f769_2518a4dfe305
  style d0e504b9_9bc1_1d29_75fd_2c767ed8b749 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

    private void clearRead() {
        assert eventLoop().inEventLoop();
        readPending = false;
        IoRegistration registration = this.registration;
        if (registration == null || !registration.isValid()) {
            return;
        }
        // Also cancel all outstanding reads as the user did signal there is no more desire to read.
        cancelOutstandingReads(registration(), numOutstandingReads);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does clearRead() do?
clearRead() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java.
Where is clearRead() defined?
clearRead() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringChannel.java at line 178.
What does clearRead() call?
clearRead() calls 1 function(s): cancelOutstandingReads.
What calls clearRead()?
clearRead() is called by 1 function(s): autoReadCleared.

Analyze Your Own Codebase

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

Try Supermodel Free