main() — netty Function Reference
Architecture documentation for the main() function in AllocationPatternSimulator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD eed6d081_2fa9_2b93_44a4_f9f70f42baae["main()"] 4ed8382e_6455_1b00_c128_dbdce6457ea2["AllocationPatternSimulator"] eed6d081_2fa9_2b93_44a4_f9f70f42baae -->|defined in| 4ed8382e_6455_1b00_c128_dbdce6457ea2 9430fd3e_72f7_1b4d_f910_2ccc294c3371["buildPattern()"] eed6d081_2fa9_2b93_44a4_f9f70f42baae -->|calls| 9430fd3e_72f7_1b4d_f910_2ccc294c3371 6dbc25d0_e067_4e19_7878_9bbd68b01803["setUp()"] eed6d081_2fa9_2b93_44a4_f9f70f42baae -->|calls| 6dbc25d0_e067_4e19_7878_9bbd68b01803 76ec3af2_8878_9d60_39b7_18461aa6fefd["run()"] eed6d081_2fa9_2b93_44a4_f9f70f42baae -->|calls| 76ec3af2_8878_9d60_39b7_18461aa6fefd style eed6d081_2fa9_2b93_44a4_f9f70f42baae fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/buffer/AllocationPatternSimulator.java lines 444–449
public static void main(String[] args) throws Exception {
int[] pattern = args.length == 0 ? WEB_SOCKET_PROXY_PATTERN : buildPattern(args[0]);
AllocationPatternSimulator runner = new AllocationPatternSimulator();
runner.setUp(pattern);
runner.run(CONCURRENCY_LEVEL, RUNNING_TIME_SECONDS);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does main() do?
main() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/buffer/AllocationPatternSimulator.java.
Where is main() defined?
main() is defined in microbench/src/main/java/io/netty/buffer/AllocationPatternSimulator.java at line 444.
What does main() call?
main() calls 3 function(s): buildPattern, run, setUp.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free