Home / Type/ ShutdownHint Type — netty Architecture

ShutdownHint Type — netty Architecture

Architecture documentation for the ShutdownHint type/interface in Http2Exception.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  eb8841bd_e234_b655_295d_38ef6f20a00a["ShutdownHint"]
  7dd7718e_f2a2_dc12_a584_d41785aa4a88["Http2Exception.java"]
  eb8841bd_e234_b655_295d_38ef6f20a00a -->|defined in| 7dd7718e_f2a2_dc12_a584_d41785aa4a88
  style eb8841bd_e234_b655_295d_38ef6f20a00a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/Http2Exception.java lines 220–234

    public enum ShutdownHint {
        /**
         * Do not shutdown the underlying channel.
         */
        NO_SHUTDOWN,
        /**
         * Attempt to execute a "graceful" shutdown. The definition of "graceful" is left to the implementation.
         * An example of "graceful" would be wait for some amount of time until all active streams are closed.
         */
        GRACEFUL_SHUTDOWN,
        /**
         * Close the channel immediately after a {@code GOAWAY} is sent.
         */
        HARD_SHUTDOWN
    }

Frequently Asked Questions

What is the ShutdownHint type?
ShutdownHint is a type/interface in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2Exception.java.
Where is ShutdownHint defined?
ShutdownHint is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2Exception.java at line 220.

Analyze Your Own Codebase

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

Try Supermodel Free