Home / Function/ forceClose() — netty Function Reference

forceClose() — netty Function Reference

Architecture documentation for the forceClose() function in ServerBootstrap.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  0b873b52_fd29_cffc_2068_8b007dde392f["forceClose()"]
  f32a5269_a3d9_354a_3815_e297ee3f3e29["ServerBootstrapAcceptor"]
  0b873b52_fd29_cffc_2068_8b007dde392f -->|defined in| f32a5269_a3d9_354a_3815_e297ee3f3e29
  62382788_d26c_b56b_2499_06e1b104f9c3["channelRead()"]
  62382788_d26c_b56b_2499_06e1b104f9c3 -->|calls| 0b873b52_fd29_cffc_2068_8b007dde392f
  style 0b873b52_fd29_cffc_2068_8b007dde392f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java lines 257–260

        private static void forceClose(Channel child, Throwable t) {
            child.unsafe().closeForcibly();
            logger.warn("Failed to register an accepted channel: {}", child, t);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does forceClose() do?
forceClose() is a function in the netty codebase, defined in transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java.
Where is forceClose() defined?
forceClose() is defined in transport/src/main/java/io/netty/bootstrap/ServerBootstrap.java at line 257.
What calls forceClose()?
forceClose() is called by 1 function(s): channelRead.

Analyze Your Own Codebase

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

Try Supermodel Free