Home / Function/ setup() — netty Function Reference

setup() — netty Function Reference

Architecture documentation for the setup() function in JfrBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d0ca1b15_8dcb_18ba_22a2_828c4a02f384["setup()"]
  681465d2_bf88_cbc8_0ca9_f8b1c13a8af4["JfrBenchmark"]
  d0ca1b15_8dcb_18ba_22a2_828c4a02f384 -->|defined in| 681465d2_bf88_cbc8_0ca9_f8b1c13a8af4
  style d0ca1b15_8dcb_18ba_22a2_828c4a02f384 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/util/JfrBenchmark.java lines 52–61

    @Setup
    public void setup() {
        stream = new RecordingStream();
        if (enabled) {
            stream.enable(NettyEvent.class.getName());
        } else {
            stream.disable(NettyEvent.class.getName());
        }
        stream.startAsync();
    }

Domain

Subdomains

Frequently Asked Questions

What does setup() do?
setup() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/util/JfrBenchmark.java.
Where is setup() defined?
setup() is defined in microbench/src/main/java/io/netty/util/JfrBenchmark.java at line 52.

Analyze Your Own Codebase

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

Try Supermodel Free