Home / Function/ Workload() — netty Function Reference

Workload() — netty Function Reference

Architecture documentation for the Workload() function in AllocationPatternSimulator.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  74f5b87f_4178_e388_8bee_4b0ac247cbd6["Workload()"]
  205b6069_4dbe_3fcd_334a_3a81de7610c1["Workload"]
  74f5b87f_4178_e388_8bee_4b0ac247cbd6 -->|defined in| 205b6069_4dbe_3fcd_334a_3a81de7610c1
  0f78878b_2de1_dd50_8561_ea417592c5e3["Thread()"]
  0f78878b_2de1_dd50_8561_ea417592c5e3 -->|calls| 74f5b87f_4178_e388_8bee_4b0ac247cbd6
  style 74f5b87f_4178_e388_8bee_4b0ac247cbd6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/buffer/AllocationPatternSimulator.java lines 613–623

        private Workload(CountDownLatch startLatch,
                         ByteBufAllocator allocator,
                         SplittableRandom rng,
                         AtomicBoolean stopCondition,
                         int avgLiveBuffers) {
            this.startLatch = startLatch;
            this.allocator = allocator;
            this.rng = rng;
            this.stopCondition = stopCondition;
            this.avgLiveBuffers = avgLiveBuffers;
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does Workload() do?
Workload() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/buffer/AllocationPatternSimulator.java.
Where is Workload() defined?
Workload() is defined in microbench/src/main/java/io/netty/buffer/AllocationPatternSimulator.java at line 613.
What calls Workload()?
Workload() is called by 1 function(s): Thread.

Analyze Your Own Codebase

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

Try Supermodel Free