Home / Function/ isSkippable() — netty Function Reference

isSkippable() — netty Function Reference

Architecture documentation for the isSkippable() function in ChannelHandlerMask.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  556154cc_4114_03bb_0590_52da3f0b5cc0["isSkippable()"]
  9765d8d3_2fc6_fd23_4e23_eee14183479c["ChannelHandlerMask"]
  556154cc_4114_03bb_0590_52da3f0b5cc0 -->|defined in| 9765d8d3_2fc6_fd23_4e23_eee14183479c
  415dced0_768d_3ef9_f5b5_dd95ec9f9f3d["mask0()"]
  415dced0_768d_3ef9_f5b5_dd95ec9f9f3d -->|calls| 556154cc_4114_03bb_0590_52da3f0b5cc0
  style 556154cc_4114_03bb_0590_52da3f0b5cc0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/ChannelHandlerMask.java lines 166–184

    private static boolean isSkippable(
            final Class<?> handlerType, final String methodName, final Class<?>... paramTypes) throws Exception {
        return AccessController.doPrivileged(new PrivilegedExceptionAction<Boolean>() {
            @Override
            public Boolean run() throws Exception {
                Method m;
                try {
                    m = handlerType.getMethod(methodName, paramTypes);
                } catch (NoSuchMethodException e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug(
                            "Class {} missing method {}, assume we can not skip execution", handlerType, methodName, e);
                    }
                    return false;
                }
                return m.isAnnotationPresent(Skip.class);
            }
        });
    }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free