Home / Function/ run() — netty Function Reference

run() — netty Function Reference

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

Function java CommonUtil Concurrent calls 4 called by 1

Entity Profile

Dependency Diagram

graph TD
  9841426a_d813_e6ab_d8d2_7348fa2bb204["run()"]
  a3a671b9_b63f_8fe8_5aaa_f5dbcafe605f["PromiseTask"]
  9841426a_d813_e6ab_d8d2_7348fa2bb204 -->|defined in| a3a671b9_b63f_8fe8_5aaa_f5dbcafe605f
  fdf7f58e_fdf9_8a76_fc64_a7f094262365["run()"]
  fdf7f58e_fdf9_8a76_fc64_a7f094262365 -->|calls| 9841426a_d813_e6ab_d8d2_7348fa2bb204
  fdf7f58e_fdf9_8a76_fc64_a7f094262365["run()"]
  9841426a_d813_e6ab_d8d2_7348fa2bb204 -->|calls| fdf7f58e_fdf9_8a76_fc64_a7f094262365
  bf1d9799_a4b1_0aa2_d434_61289bb8022f["setUncancellableInternal()"]
  9841426a_d813_e6ab_d8d2_7348fa2bb204 -->|calls| bf1d9799_a4b1_0aa2_d434_61289bb8022f
  450f0470_89cf_4783_a385_794de610e2f8["setSuccessInternal()"]
  9841426a_d813_e6ab_d8d2_7348fa2bb204 -->|calls| 450f0470_89cf_4783_a385_794de610e2f8
  75360b21_c5df_76f6_fa7b_19e82e4a20db["setFailureInternal()"]
  9841426a_d813_e6ab_d8d2_7348fa2bb204 -->|calls| 75360b21_c5df_76f6_fa7b_19e82e4a20db
  style 9841426a_d813_e6ab_d8d2_7348fa2bb204 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/PromiseTask.java lines 102–112

    @Override
    public void run() {
        try {
            if (setUncancellableInternal()) {
                V result = runTask();
                setSuccessInternal(result);
            }
        } catch (Throwable e) {
            setFailureInternal(e);
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does run() do?
run() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/PromiseTask.java.
Where is run() defined?
run() is defined in common/src/main/java/io/netty/util/concurrent/PromiseTask.java at line 102.
What does run() call?
run() calls 4 function(s): run, setFailureInternal, setSuccessInternal, setUncancellableInternal.
What calls run()?
run() is called by 1 function(s): run.

Analyze Your Own Codebase

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

Try Supermodel Free