Home / Function/ safeSuccess() — netty Function Reference

safeSuccess() — netty Function Reference

Architecture documentation for the safeSuccess() function in ChannelOutboundBuffer.java from the netty codebase.

Function java Buffer Search called by 1

Entity Profile

Dependency Diagram

graph TD
  564b7e70_5bf4_8e5b_b980_3a9b8c917d0c["safeSuccess()"]
  509b1bc5_7cdc_9ee4_03d9_31eb2203d807["ChannelOutboundBuffer"]
  564b7e70_5bf4_8e5b_b980_3a9b8c917d0c -->|defined in| 509b1bc5_7cdc_9ee4_03d9_31eb2203d807
  6dea3e34_a4b3_484d_ed24_d39287511a5a["remove()"]
  6dea3e34_a4b3_484d_ed24_d39287511a5a -->|calls| 564b7e70_5bf4_8e5b_b980_3a9b8c917d0c
  style 564b7e70_5bf4_8e5b_b980_3a9b8c917d0c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java lines 744–748

    private static void safeSuccess(ChannelPromise promise) {
        // Only log if the given promise is not of type VoidChannelPromise as trySuccess(...) is expected to return
        // false.
        PromiseNotificationUtil.trySuccess(promise, null, promise instanceof VoidChannelPromise ? null : logger);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does safeSuccess() do?
safeSuccess() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java.
Where is safeSuccess() defined?
safeSuccess() is defined in transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java at line 744.
What calls safeSuccess()?
safeSuccess() is called by 1 function(s): remove.

Analyze Your Own Codebase

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

Try Supermodel Free