Home / Function/ safeClose() — netty Function Reference

safeClose() — netty Function Reference

Architecture documentation for the safeClose() function in Http2StreamChannelBootstrapTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  563e09b0_5a75_8d0e_fff1_ead4c30f71fe["safeClose()"]
  50eedf11_f660_dc20_71c5_c1d7bf019f90["Http2StreamChannelBootstrapTest"]
  563e09b0_5a75_8d0e_fff1_ead4c30f71fe -->|defined in| 50eedf11_f660_dc20_71c5_c1d7bf019f90
  768ceffc_b61a_dc82_8899_9268f03c871d["testStreamIsNotCreatedIfParentConnectionIsClosedConcurrently()"]
  768ceffc_b61a_dc82_8899_9268f03c871d -->|calls| 563e09b0_5a75_8d0e_fff1_ead4c30f71fe
  style 563e09b0_5a75_8d0e_fff1_ead4c30f71fe fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrapTest.java lines 138–146

    private static void safeClose(Channel channel) {
        if (channel != null) {
            try {
                channel.close().syncUninterruptibly();
            } catch (Exception e) {
                logger.error(e);
            }
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does safeClose() do?
safeClose() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrapTest.java.
Where is safeClose() defined?
safeClose() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/Http2StreamChannelBootstrapTest.java at line 138.
What calls safeClose()?
safeClose() is called by 1 function(s): testStreamIsNotCreatedIfParentConnectionIsClosedConcurrently.

Analyze Your Own Codebase

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

Try Supermodel Free