safeSetSuccess() — netty Function Reference
Architecture documentation for the safeSetSuccess() function in AbstractHttp2StreamChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 8c56fb74_b80c_02ad_25a4_65eb61eff7ea["safeSetSuccess()"] 2656dcfe_5cdb_7c7d_bc25_312393fe2e05["Http2ChannelUnsafe"] 8c56fb74_b80c_02ad_25a4_65eb61eff7ea -->|defined in| 2656dcfe_5cdb_7c7d_bc25_312393fe2e05 392e63a7_22b4_b12e_e643_274bcc99a5bf["fireChannelInactiveAndDeregister()"] 392e63a7_22b4_b12e_e643_274bcc99a5bf -->|calls| 8c56fb74_b80c_02ad_25a4_65eb61eff7ea style 8c56fb74_b80c_02ad_25a4_65eb61eff7ea fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java lines 814–819
private void safeSetSuccess(ChannelPromise promise) {
if (!(promise instanceof VoidChannelPromise) && !promise.trySuccess()) {
logger.warn("{} Failed to mark a promise as success because it is done already: {}",
promise.channel(), promise);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does safeSetSuccess() do?
safeSetSuccess() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java.
Where is safeSetSuccess() defined?
safeSetSuccess() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/AbstractHttp2StreamChannel.java at line 814.
What calls safeSetSuccess()?
safeSetSuccess() is called by 1 function(s): fireChannelInactiveAndDeregister.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free