Home / Function/ close() — netty Function Reference

close() — netty Function Reference

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

Function java Buffer Search calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  5d77c1c4_7bff_ebd6_11b7_c38e5d60916e["close()"]
  dcdf1935_bc76_f2a3_9079_ea2dfd85abec["AbstractChannelPoolMap"]
  5d77c1c4_7bff_ebd6_11b7_c38e5d60916e -->|defined in| dcdf1935_bc76_f2a3_9079_ea2dfd85abec
  5cdb479c_dffc_4a55_7dac_6d05b82ff9be["poolCloseAsyncIfSupported()"]
  5cdb479c_dffc_4a55_7dac_6d05b82ff9be -->|calls| 5d77c1c4_7bff_ebd6_11b7_c38e5d60916e
  c0c11a10_371e_2cad_4b08_83e1dfa3ce8f["removeAsyncIfSupported()"]
  5d77c1c4_7bff_ebd6_11b7_c38e5d60916e -->|calls| c0c11a10_371e_2cad_4b08_83e1dfa3ce8f
  style 5d77c1c4_7bff_ebd6_11b7_c38e5d60916e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/pool/AbstractChannelPoolMap.java lines 142–148

    @Override
    public final void close() {
        for (K key: map.keySet()) {
            // Wait for remove to finish to ensure that resources are released before returning from close
            removeAsyncIfSupported(key).syncUninterruptibly();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does close() do?
close() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/pool/AbstractChannelPoolMap.java.
Where is close() defined?
close() is defined in transport/src/main/java/io/netty/channel/pool/AbstractChannelPoolMap.java at line 142.
What does close() call?
close() calls 1 function(s): removeAsyncIfSupported.
What calls close()?
close() is called by 1 function(s): poolCloseAsyncIfSupported.

Analyze Your Own Codebase

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

Try Supermodel Free