Home / Function/ run() — netty Function Reference

run() — netty Function Reference

Architecture documentation for the run() function in DefaultPromiseTest.java from the netty codebase.

Function java Buffer Search called by 6

Entity Profile

Dependency Diagram

graph TD
  91d7c04c_78df_5079_c536_a87d3e68b6fb["run()"]
  8b46a1e8_e0a2_e0e0_e50b_4991b6a5e8f3["TestEventExecutor"]
  91d7c04c_78df_5079_c536_a87d3e68b6fb -->|defined in| 8b46a1e8_e0a2_e0e0_e50b_4991b6a5e8f3
  c612de75_f6bf_0f75_a599_8ca8ad753c40["testListenerNotifyOrder()"]
  c612de75_f6bf_0f75_a599_8ca8ad753c40 -->|calls| 91d7c04c_78df_5079_c536_a87d3e68b6fb
  ea2f93e5_1dcf_ff20_72e8_f85b2caaaeaf["testSignalRace()"]
  ea2f93e5_1dcf_ff20_72e8_f85b2caaaeaf -->|calls| 91d7c04c_78df_5079_c536_a87d3e68b6fb
  2c419d06_5fff_e041_a778_bbd0bca5ea10["testStackOverFlowChainedFuturesA()"]
  2c419d06_5fff_e041_a778_bbd0bca5ea10 -->|calls| 91d7c04c_78df_5079_c536_a87d3e68b6fb
  cb262961_c18b_c6b0_ccf5_ff8e1d54a58d["testStackOverFlowChainedFuturesB()"]
  cb262961_c18b_c6b0_ccf5_ff8e1d54a58d -->|calls| 91d7c04c_78df_5079_c536_a87d3e68b6fb
  a66b597f_459e_5427_d392_ad3ba06bd7e9["testLateListenerIsOrderedCorrectly()"]
  a66b597f_459e_5427_d392_ad3ba06bd7e9 -->|calls| 91d7c04c_78df_5079_c536_a87d3e68b6fb
  4df87115_ef36_cd77_cec7_5ef05afe4c3b["testListenerNotifyLater()"]
  4df87115_ef36_cd77_cec7_5ef05afe4c3b -->|calls| 91d7c04c_78df_5079_c536_a87d3e68b6fb
  style 91d7c04c_78df_5079_c536_a87d3e68b6fb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java lines 589–602

        @Override
        protected void run() {
            for (;;) {
                Runnable task = takeTask();
                if (task != null) {
                    task.run();
                    updateLastExecutionTime();
                }

                if (confirmShutdown()) {
                    break;
                }
            }
        }

Domain

Subdomains

Frequently Asked Questions

What does run() do?
run() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java.
Where is run() defined?
run() is defined in common/src/test/java/io/netty/util/concurrent/DefaultPromiseTest.java at line 589.
What calls run()?
run() is called by 6 function(s): testLateListenerIsOrderedCorrectly, testListenerNotifyLater, testListenerNotifyOrder, testSignalRace, testStackOverFlowChainedFuturesA, testStackOverFlowChainedFuturesB.

Analyze Your Own Codebase

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

Try Supermodel Free