Home / Function/ execute() — netty Function Reference

execute() — netty Function Reference

Architecture documentation for the execute() function in DefaultChannelPipeline.java from the netty codebase.

Function java Buffer Search calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  2bf53d58_e275_780d_76f6_04d2c1b49729["execute()"]
  939fc5c2_4b32_dc4a_dbe5_71aa930d1dc3["PendingHandlerAddedTask"]
  2bf53d58_e275_780d_76f6_04d2c1b49729 -->|defined in| 939fc5c2_4b32_dc4a_dbe5_71aa930d1dc3
  0d80fb97_055a_342e_a89b_547d6bae4466["execute()"]
  0d80fb97_055a_342e_a89b_547d6bae4466 -->|calls| 2bf53d58_e275_780d_76f6_04d2c1b49729
  a3aac933_b33b_6e9f_7879_acadda651446["callHandlerAdded0()"]
  2bf53d58_e275_780d_76f6_04d2c1b49729 -->|calls| a3aac933_b33b_6e9f_7879_acadda651446
  82a9f924_fc0e_6649_a8b0_e47e355d1614["atomicRemoveFromHandlerList()"]
  2bf53d58_e275_780d_76f6_04d2c1b49729 -->|calls| 82a9f924_fc0e_6649_a8b0_e47e355d1614
  0d80fb97_055a_342e_a89b_547d6bae4466["execute()"]
  2bf53d58_e275_780d_76f6_04d2c1b49729 -->|calls| 0d80fb97_055a_342e_a89b_547d6bae4466
  51296ff9_abc0_33d2_5883_de61f348cf3a["handlerAdded()"]
  2bf53d58_e275_780d_76f6_04d2c1b49729 -->|calls| 51296ff9_abc0_33d2_5883_de61f348cf3a
  style 2bf53d58_e275_780d_76f6_04d2c1b49729 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java lines 1478–1496

        @Override
        void execute() {
            EventExecutor executor = ctx.executor();
            if (executor.inEventLoop()) {
                callHandlerAdded0(ctx);
            } else {
                try {
                    executor.execute(this);
                } catch (RejectedExecutionException e) {
                    if (logger.isWarnEnabled()) {
                        logger.warn(
                                "Can't invoke handlerAdded() as the EventExecutor {} rejected it, removing handler {}.",
                                executor, ctx.name(), e);
                    }
                    atomicRemoveFromHandlerList(ctx);
                    ctx.setRemoved();
                }
            }
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does execute() do?
execute() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java.
Where is execute() defined?
execute() is defined in transport/src/main/java/io/netty/channel/DefaultChannelPipeline.java at line 1478.
What does execute() call?
execute() calls 4 function(s): atomicRemoveFromHandlerList, callHandlerAdded0, execute, handlerAdded.
What calls execute()?
execute() is called by 1 function(s): execute.

Analyze Your Own Codebase

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

Try Supermodel Free