skipContext() — netty Function Reference
Architecture documentation for the skipContext() function in AbstractChannelHandlerContext.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD f7790716_2f9f_c901_f654_9d003665d532["skipContext()"] 219fdd98_e8e7_d4f7_fea0_eba60352e3de["AbstractChannelHandlerContext"] f7790716_2f9f_c901_f654_9d003665d532 -->|defined in| 219fdd98_e8e7_d4f7_fea0_eba60352e3de bd4fe53b_df2f_960b_6dfb_f6e89093bc14["AbstractChannelHandlerContext()"] bd4fe53b_df2f_960b_6dfb_f6e89093bc14 -->|calls| f7790716_2f9f_c901_f654_9d003665d532 style f7790716_2f9f_c901_f654_9d003665d532 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java lines 945–954
private static boolean skipContext(
AbstractChannelHandlerContext ctx, EventExecutor currentExecutor, int mask, int onlyMask) {
// Ensure we correctly handle MASK_EXCEPTION_CAUGHT which is not included in the MASK_EXCEPTION_CAUGHT
return (ctx.executionMask & (onlyMask | mask)) == 0 ||
// We can only skip if the EventExecutor is the same as otherwise we need to ensure we offload
// everything to preserve ordering.
//
// See https://github.com/netty/netty/issues/10067
(ctx.executor() == currentExecutor && (ctx.executionMask & mask) == 0);
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does skipContext() do?
skipContext() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java.
Where is skipContext() defined?
skipContext() is defined in transport/src/main/java/io/netty/channel/AbstractChannelHandlerContext.java at line 945.
What calls skipContext()?
skipContext() is called by 1 function(s): AbstractChannelHandlerContext.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free