Home / Function/ closeChannel() — netty Function Reference

closeChannel() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  28de780c_cde8_99d0_9e70_ec182dc3ba60["closeChannel()"]
  e441b5b0_fbd9_848c_9624_3e21f7c56e58["SimpleChannelPool"]
  28de780c_cde8_99d0_9e70_ec182dc3ba60 -->|defined in| e441b5b0_fbd9_848c_9624_3e21f7c56e58
  7ba4c5b6_3e78_dd98_af42_a908940f0803["notifyHealthCheck()"]
  7ba4c5b6_3e78_dd98_af42_a908940f0803 -->|calls| 28de780c_cde8_99d0_9e70_ec182dc3ba60
  289c2758_bf72_3fdf_f9ce_fa04213a1c12["closeAndFail()"]
  289c2758_bf72_3fdf_f9ce_fa04213a1c12 -->|calls| 28de780c_cde8_99d0_9e70_ec182dc3ba60
  8ee798f5_e519_63d5_a331_2a110682e5b4["close()"]
  28de780c_cde8_99d0_9e70_ec182dc3ba60 -->|calls| 8ee798f5_e519_63d5_a331_2a110682e5b4
  style 28de780c_cde8_99d0_9e70_ec182dc3ba60 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/pool/SimpleChannelPool.java lines 347–350

    private void closeChannel(Channel channel) throws Exception {
        channel.attr(POOL_KEY).getAndSet(null);
        channel.close();
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does closeChannel() do?
closeChannel() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/pool/SimpleChannelPool.java.
Where is closeChannel() defined?
closeChannel() is defined in transport/src/main/java/io/netty/channel/pool/SimpleChannelPool.java at line 347.
What does closeChannel() call?
closeChannel() calls 1 function(s): close.
What calls closeChannel()?
closeChannel() is called by 2 function(s): closeAndFail, notifyHealthCheck.

Analyze Your Own Codebase

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

Try Supermodel Free