Home / Function/ shutdownDone() — netty Function Reference

shutdownDone() — netty Function Reference

Architecture documentation for the shutdownDone() function in AbstractIoUringStreamChannel.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  a885e83c_6a8f_6223_32e4_813fddbf1b00["shutdownDone()"]
  e0084bc2_202c_2cf9_b167_f5ee8ec96f9b["AbstractIoUringStreamChannel"]
  a885e83c_6a8f_6223_32e4_813fddbf1b00 -->|defined in| e0084bc2_202c_2cf9_b167_f5ee8ec96f9b
  6a9d5e46_a01c_522f_5c3b_4688247e1f1d["shutdownOutputDone()"]
  6a9d5e46_a01c_522f_5c3b_4688247e1f1d -->|calls| a885e83c_6a8f_6223_32e4_813fddbf1b00
  style a885e83c_6a8f_6223_32e4_813fddbf1b00 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringStreamChannel.java lines 178–194

    private static void shutdownDone(ChannelFuture shutdownOutputFuture,
                                     ChannelFuture shutdownInputFuture,
                                     ChannelPromise promise) {
        Throwable shutdownOutputCause = shutdownOutputFuture.cause();
        Throwable shutdownInputCause = shutdownInputFuture.cause();
        if (shutdownOutputCause != null) {
            if (shutdownInputCause != null) {
                logger.info("Exception suppressed because a previous exception occurred.",
                             shutdownInputCause);
            }
            promise.setFailure(shutdownOutputCause);
        } else if (shutdownInputCause != null) {
            promise.setFailure(shutdownInputCause);
        } else {
            promise.setSuccess();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does shutdownDone() do?
shutdownDone() is a function in the netty codebase, defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringStreamChannel.java.
Where is shutdownDone() defined?
shutdownDone() is defined in transport-classes-io_uring/src/main/java/io/netty/channel/uring/AbstractIoUringStreamChannel.java at line 178.
What calls shutdownDone()?
shutdownDone() is called by 1 function(s): shutdownOutputDone.

Analyze Your Own Codebase

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

Try Supermodel Free