Home / Function/ closeIfClosed() — netty Function Reference

closeIfClosed() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  2a754051_6240_e8f0_34c4_f563ed9252f9["closeIfClosed()"]
  330d05c9_85ca_2e57_92f5_e996fb442b81["AbstractUnsafe"]
  2a754051_6240_e8f0_34c4_f563ed9252f9 -->|defined in| 330d05c9_85ca_2e57_92f5_e996fb442b81
  12b196ff_bea6_a14a_f304_feba219fd5ac["bind()"]
  12b196ff_bea6_a14a_f304_feba219fd5ac -->|calls| 2a754051_6240_e8f0_34c4_f563ed9252f9
  49488e5c_2130_0f61_1882_15fe94cba0eb["disconnect()"]
  49488e5c_2130_0f61_1882_15fe94cba0eb -->|calls| 2a754051_6240_e8f0_34c4_f563ed9252f9
  3247fe36_e8dd_2a94_aca8_58f72f5210e8["close()"]
  2a754051_6240_e8f0_34c4_f563ed9252f9 -->|calls| 3247fe36_e8dd_2a94_aca8_58f72f5210e8
  style 2a754051_6240_e8f0_34c4_f563ed9252f9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/AbstractChannel.java lines 867–872

        protected final void closeIfClosed() {
            if (isOpen()) {
                return;
            }
            close(voidPromise());
        }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does closeIfClosed() do?
closeIfClosed() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/AbstractChannel.java.
Where is closeIfClosed() defined?
closeIfClosed() is defined in transport/src/main/java/io/netty/channel/AbstractChannel.java at line 867.
What does closeIfClosed() call?
closeIfClosed() calls 1 function(s): close.
What calls closeIfClosed()?
closeIfClosed() is called by 2 function(s): bind, disconnect.

Analyze Your Own Codebase

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

Try Supermodel Free