Home / Function/ doClose0() — netty Function Reference

doClose0() — netty Function Reference

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

Function java Buffer Telemetry calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  6a2d44b1_60ce_ee0e_05d7_10de760601f8["doClose0()"]
  330d05c9_85ca_2e57_92f5_e996fb442b81["AbstractUnsafe"]
  6a2d44b1_60ce_ee0e_05d7_10de760601f8 -->|defined in| 330d05c9_85ca_2e57_92f5_e996fb442b81
  3247fe36_e8dd_2a94_aca8_58f72f5210e8["close()"]
  3247fe36_e8dd_2a94_aca8_58f72f5210e8 -->|calls| 6a2d44b1_60ce_ee0e_05d7_10de760601f8
  b2ef1021_f03a_0738_b62a_63d84d51e6b6["doClose()"]
  6a2d44b1_60ce_ee0e_05d7_10de760601f8 -->|calls| b2ef1021_f03a_0738_b62a_63d84d51e6b6
  4b71a6cb_9d50_676e_bce9_aabd595de051["setClosed()"]
  6a2d44b1_60ce_ee0e_05d7_10de760601f8 -->|calls| 4b71a6cb_9d50_676e_bce9_aabd595de051
  bc29f802_b297_1770_91f3_caeb36e61763["safeSetSuccess()"]
  6a2d44b1_60ce_ee0e_05d7_10de760601f8 -->|calls| bc29f802_b297_1770_91f3_caeb36e61763
  09594916_b369_0dde_fab6_d2f3c2bd81b1["safeSetFailure()"]
  6a2d44b1_60ce_ee0e_05d7_10de760601f8 -->|calls| 09594916_b369_0dde_fab6_d2f3c2bd81b1
  style 6a2d44b1_60ce_ee0e_05d7_10de760601f8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/AbstractChannel.java lines 615–624

        private void doClose0(ChannelPromise promise) {
            try {
                doClose();
                closeFuture.setClosed();
                safeSetSuccess(promise);
            } catch (Throwable t) {
                closeFuture.setClosed();
                safeSetFailure(promise, t);
            }
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does doClose0() do?
doClose0() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/AbstractChannel.java.
Where is doClose0() defined?
doClose0() is defined in transport/src/main/java/io/netty/channel/AbstractChannel.java at line 615.
What does doClose0() call?
doClose0() calls 4 function(s): doClose, safeSetFailure, safeSetSuccess, setClosed.
What calls doClose0()?
doClose0() is called by 1 function(s): close.

Analyze Your Own Codebase

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

Try Supermodel Free