Home / Function/ setSimulateWorkload() — netty Function Reference

setSimulateWorkload() — netty Function Reference

Architecture documentation for the setSimulateWorkload() function in MultiThreadIoEventLoopGroupTest.java from the netty codebase.

Function java Buffer Search called by 2

Entity Profile

Dependency Diagram

graph TD
  d2742b96_6092_a292_9533_c669707fc8db["setSimulateWorkload()"]
  58be7942_44d1_cd6e_f39f_cad5938b2ce3["TestableIoEventLoop"]
  d2742b96_6092_a292_9533_c669707fc8db -->|defined in| 58be7942_44d1_cd6e_f39f_cad5938b2ce3
  9dc088c7_b110_3105_08f2_60a9b86cd695["testScalingWithIoRegistrationLifecycle()"]
  9dc088c7_b110_3105_08f2_60a9b86cd695 -->|calls| d2742b96_6092_a292_9533_c669707fc8db
  e7d55bd2_9308_0bb3_c01a_5eb1fee6b142["testShouldNotSuspendExecutorWithActiveRegistration()"]
  e7d55bd2_9308_0bb3_c01a_5eb1fee6b142 -->|calls| d2742b96_6092_a292_9533_c669707fc8db
  style d2742b96_6092_a292_9533_c669707fc8db fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java lines 97–102

        public void setSimulateWorkload(boolean active) {
            simulateWorkload.set(active);
            if (active) {
                execute(() -> { /* NO-OP */ });
            }
        }

Domain

Subdomains

Frequently Asked Questions

What does setSimulateWorkload() do?
setSimulateWorkload() is a function in the netty codebase, defined in transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java.
Where is setSimulateWorkload() defined?
setSimulateWorkload() is defined in transport/src/test/java/io/netty/channel/MultiThreadIoEventLoopGroupTest.java at line 97.
What calls setSimulateWorkload()?
setSimulateWorkload() is called by 2 function(s): testScalingWithIoRegistrationLifecycle, testShouldNotSuspendExecutorWithActiveRegistration.

Analyze Your Own Codebase

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

Try Supermodel Free