Home / Function/ Runnable() — netty Function Reference

Runnable() — netty Function Reference

Architecture documentation for the Runnable() function in NettyRuntimeTests.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  dc2e2d32_6bd0_143d_25aa_c746f2b8409a["Runnable()"]
  f8a8d4a2_21ee_fb99_d44b_e7434e8cbd80["NettyRuntimeTests"]
  dc2e2d32_6bd0_143d_25aa_c746f2b8409a -->|defined in| f8a8d4a2_21ee_fb99_d44b_e7434e8cbd80
  ae47057b_ae5b_56d0_505e_850862868238["testRacingGetAndSet()"]
  ae47057b_ae5b_56d0_505e_850862868238 -->|calls| dc2e2d32_6bd0_143d_25aa_c746f2b8409a
  c66ca834_66fc_0dc3_a0c7_18e526fa3476["await()"]
  dc2e2d32_6bd0_143d_25aa_c746f2b8409a -->|calls| c66ca834_66fc_0dc3_a0c7_18e526fa3476
  style dc2e2d32_6bd0_143d_25aa_c746f2b8409a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/NettyRuntimeTests.java lines 99–115

    private static Runnable getRunnable(
            final NettyRuntime.AvailableProcessorsHolder holder,
            final CyclicBarrier barrier,
            final AtomicReference<IllegalStateException> reference) {
        return new Runnable() {
            @Override
            public void run() {
                await(barrier);
                try {
                    holder.availableProcessors();
                } catch (final IllegalStateException e) {
                    reference.set(e);
                }
                await(barrier);
            }
        };
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does Runnable() do?
Runnable() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/NettyRuntimeTests.java.
Where is Runnable() defined?
Runnable() is defined in common/src/test/java/io/netty/util/NettyRuntimeTests.java at line 99.
What does Runnable() call?
Runnable() calls 1 function(s): await.
What calls Runnable()?
Runnable() is called by 1 function(s): testRacingGetAndSet.

Analyze Your Own Codebase

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

Try Supermodel Free