Home / Function/ close() — netty Function Reference

close() — netty Function Reference

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

Function java Buffer Search called by 4

Entity Profile

Dependency Diagram

graph TD
  8f2a381b_f18c_57d0_86ff_b77731543e9e["close()"]
  d80a868d_a459_8e74_141b_ceb61647050d["DefaultIoUringIoRegistration"]
  8f2a381b_f18c_57d0_86ff_b77731543e9e -->|defined in| d80a868d_a459_8e74_141b_ceb61647050d
  93ab6411_80c6_9a81_f28e_b57b1244b57d["IoUringIoHandler()"]
  93ab6411_80c6_9a81_f28e_b57b1244b57d -->|calls| 8f2a381b_f18c_57d0_86ff_b77731543e9e
  88492ff3_9115_7f63_0291_32ae2900e2a2["prepareToDestroy()"]
  88492ff3_9115_7f63_0291_32ae2900e2a2 -->|calls| 8f2a381b_f18c_57d0_86ff_b77731543e9e
  093f8eee_4384_b7ac_3228_6a911c17e627["destroy()"]
  093f8eee_4384_b7ac_3228_6a911c17e627 -->|calls| 8f2a381b_f18c_57d0_86ff_b77731543e9e
  bac4ae32_245b_a776_8ab7_2265cd144fdb["completeRingClose()"]
  bac4ae32_245b_a776_8ab7_2265cd144fdb -->|calls| 8f2a381b_f18c_57d0_86ff_b77731543e9e
  style 8f2a381b_f18c_57d0_86ff_b77731543e9e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java lines 585–594

        void close() {
            // Closing the handle will also cancel the registration.
            // It's important that we not manually cancel as close() might need to submit some work to the ring.
            assert executor.isExecutorThread(Thread.currentThread());
            try {
                handle.close();
            } catch (Exception e) {
                logger.debug("Exception during closing " + handle, e);
            }
        }

Domain

Subdomains

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/IoUringIoHandler.java.
Where is close() defined?
close() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/IoUringIoHandler.java at line 585.
What calls close()?
close() is called by 4 function(s): IoUringIoHandler, completeRingClose, destroy, prepareToDestroy.

Analyze Your Own Codebase

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

Try Supermodel Free