Home / Function/ enable() — netty Function Reference

enable() — netty Function Reference

Architecture documentation for the enable() function in RingBuffer.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e1de2f3b_db8e_326e_9e50_9869c1ee5b81["enable()"]
  116af965_145c_bf54_06b4_e3e1905a65e4["RingBuffer"]
  e1de2f3b_db8e_326e_9e50_9869c1ee5b81 -->|defined in| 116af965_145c_bf54_06b4_e3e1905a65e4
  f038049e_6758_d06f_9e8b_6f4a27e63c10["fd()"]
  e1de2f3b_db8e_326e_9e50_9869c1ee5b81 -->|calls| f038049e_6758_d06f_9e8b_6f4a27e63c10
  style e1de2f3b_db8e_326e_9e50_9869c1ee5b81 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/RingBuffer.java lines 36–42

    void enable() {
        // We create our ring in disabled mode and so need to enable it first.
        Native.ioUringRegisterEnableRings(fd());
        // Now also register the ring filedescriptor itself. This needs to happen in the same thread
        // that will also call the io_uring_enter(...)
        ioUringSubmissionQueue.tryRegisterRingFd();
    }

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free