safeFail() — netty Function Reference
Architecture documentation for the safeFail() function in ChannelOutboundBuffer.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 388cda2b_b8f5_fdd6_cc01_b98d77fd3613["safeFail()"] 509b1bc5_7cdc_9ee4_03d9_31eb2203d807["ChannelOutboundBuffer"] 388cda2b_b8f5_fdd6_cc01_b98d77fd3613 -->|defined in| 509b1bc5_7cdc_9ee4_03d9_31eb2203d807 cd969e8c_0b55_2177_ee6c_1c15a5b3292f["remove0()"] cd969e8c_0b55_2177_ee6c_1c15a5b3292f -->|calls| 388cda2b_b8f5_fdd6_cc01_b98d77fd3613 8ef6f00a_5bc8_18eb_6487_6a2e90cfab2f["close()"] 8ef6f00a_5bc8_18eb_6487_6a2e90cfab2f -->|calls| 388cda2b_b8f5_fdd6_cc01_b98d77fd3613 style 388cda2b_b8f5_fdd6_cc01_b98d77fd3613 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java lines 750–754
private static void safeFail(ChannelPromise promise, Throwable cause) {
// Only log if the given promise is not of type VoidChannelPromise as tryFailure(...) is expected to return
// false.
PromiseNotificationUtil.tryFailure(promise, cause, promise instanceof VoidChannelPromise ? null : logger);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does safeFail() do?
safeFail() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java.
Where is safeFail() defined?
safeFail() is defined in transport/src/main/java/io/netty/channel/ChannelOutboundBuffer.java at line 750.
What calls safeFail()?
safeFail() is called by 2 function(s): close, remove0.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free