Home / Function/ close() — netty Function Reference

close() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

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

    void close() {
        if (closed) {
            return;
        }
        closed = true;
        Native.ioUringUnRegisterBufRing(ringFd, Buffer.memoryAddress(ioUringBufRing), entries, bufferGroupId);
        for (ByteBuf byteBuf : buffers) {
            if (byteBuf != null) {
                byteBuf.release();
            }
        }
        Arrays.fill(buffers, null);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free