Home / Function/ applyTo() — netty Function Reference

applyTo() — netty Function Reference

Architecture documentation for the applyTo() function in Hidden.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  291d74f3_15b5_9ebf_ea51_3451b04e699b["applyTo()"]
  f625172c_4522_6e01_267d_3da3ed51e2b7["NettyBlockHoundIntegration"]
  291d74f3_15b5_9ebf_ea51_3451b04e699b -->|defined in| f625172c_4522_6e01_267d_3da3ed51e2b7
  style 291d74f3_15b5_9ebf_ea51_3451b04e699b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/Hidden.java lines 40–195

        @Override
        public void applyTo(BlockHound.Builder builder) {
            builder.allowBlockingCallsInside(
                    "io.netty.channel.nio.NioEventLoop",
                    "handleLoopException"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.channel.kqueue.KQueueEventLoop",
                    "handleLoopException"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.channel.epoll.EpollEventLoop",
                    "handleLoopException"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.util.HashedWheelTimer",
                    "start"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.util.HashedWheelTimer",
                    "stop"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.util.HashedWheelTimer$Worker",
                    "waitForNextTick"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.util.concurrent.SingleThreadEventExecutor",
                    "confirmShutdown"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.buffer.PoolArena",
                    "lock"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.buffer.PoolSubpage",
                    "lock"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.buffer.PoolChunk",
                    "allocateRun"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.buffer.PoolChunk",
                    "free"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.buffer.AdaptivePoolingAllocator$1",
                    "initialValue"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.buffer.AdaptivePoolingAllocator$1",
                    "onRemoval"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.handler.ssl.SslHandler",
                    "handshake"
            );

            builder.allowBlockingCallsInside(
                    "io.netty.handler.ssl.SslHandler",
                    "runAllDelegatedTasks"
            );
            builder.allowBlockingCallsInside(
                    "io.netty.handler.ssl.SslHandler",
                    "runDelegatedTasks"
            );
            builder.allowBlockingCallsInside(

Domain

Subdomains

Frequently Asked Questions

What does applyTo() do?
applyTo() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/Hidden.java.
Where is applyTo() defined?
applyTo() is defined in common/src/main/java/io/netty/util/internal/Hidden.java at line 40.

Analyze Your Own Codebase

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

Try Supermodel Free