Home / Function/ IoUringBufferRing() — netty Function Reference

IoUringBufferRing() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a2179240_8e02_3c1f_f055_16f3c94f7339["IoUringBufferRing()"]
  f317c5ef_c638_0e8e_3895_73aa2a88fdad["IoUringBufferRing"]
  a2179240_8e02_3c1f_f055_16f3c94f7339 -->|defined in| f317c5ef_c638_0e8e_3895_73aa2a88fdad
  f9974b69_9bd4_1480_eb91_1ae92b4b366e["IoUringBufferRingExhaustedEvent()"]
  a2179240_8e02_3c1f_f055_16f3c94f7339 -->|calls| f9974b69_9bd4_1480_eb91_1ae92b4b366e
  style a2179240_8e02_3c1f_f055_16f3c94f7339 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringBufferRing.java lines 51–69

    IoUringBufferRing(int ringFd, ByteBuffer ioUringBufRing,
                      short entries, int batchSize, short bufferGroupId, boolean incremental,
                      IoUringBufferRingAllocator allocator, boolean batchAllocation) {
        assert entries % 2 == 0;
        assert batchSize % 2 == 0;
        this.batchSize = batchSize;
        this.ioUringBufRing = ioUringBufRing;
        this.tailFieldPosition = Native.IO_URING_BUFFER_RING_TAIL;
        this.entries = entries;
        this.mask = (short) (entries - 1);
        this.bufferGroupId = bufferGroupId;
        this.ringFd = ringFd;
        this.buffers = new ByteBuf[entries];
        this.incremental = incremental;
        this.allocator = allocator;
        this.batchAllocation = batchAllocation;
        this.ringConsumer  = new RingConsumer();
        this.exhaustedEvent = new IoUringBufferRingExhaustedEvent(bufferGroupId);
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free