Home / Function/ setup() — netty Function Reference

setup() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  e5778688_d575_25dd_aaba_ec3f8c553c3f["setup()"]
  9bb51619_c658_2e46_51e7_45c04f05dfb9["SecurityManagerInstalled"]
  e5778688_d575_25dd_aaba_ec3f8c553c3f -->|defined in| 9bb51619_c658_2e46_51e7_45c04f05dfb9
  75c92960_817d_03de_3aac_8bd648135e49["setup()"]
  75c92960_817d_03de_3aac_8bd648135e49 -->|calls| e5778688_d575_25dd_aaba_ec3f8c553c3f
  75c92960_817d_03de_3aac_8bd648135e49["setup()"]
  e5778688_d575_25dd_aaba_ec3f8c553c3f -->|calls| 75c92960_817d_03de_3aac_8bd648135e49
  style e5778688_d575_25dd_aaba_ec3f8c553c3f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/microbench/internal/PrivilegedSocketOperationsBenchmark.java lines 47–53

        @Setup
        public void setup() throws IOException, NoSuchAlgorithmException, URISyntaxException {
            final URI policyFile = PrivilegedSocketOperationsBenchmark.class.getResource("/jmh-security.policy")
                    .toURI();
            Policy.setPolicy(Policy.getInstance("JavaPolicy", new URIParameter(policyFile)));
            System.setSecurityManager(new SecurityManager());
        }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does setup() do?
setup() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/internal/PrivilegedSocketOperationsBenchmark.java.
Where is setup() defined?
setup() is defined in microbench/src/main/java/io/netty/microbench/internal/PrivilegedSocketOperationsBenchmark.java at line 47.
What does setup() call?
setup() calls 1 function(s): setup.
What calls setup()?
setup() is called by 1 function(s): setup.

Analyze Your Own Codebase

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

Try Supermodel Free