setup() — netty Function Reference
Architecture documentation for the setup() function in AbstractSslHandlerThroughputBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7786ed23_5e51_a848_8b88_f00c1526b15b["setup()"] 08b990fd_7d02_bdd6_b438_263a2d2f6a56["AbstractSslHandlerThroughputBenchmark"] 7786ed23_5e51_a848_8b88_f00c1526b15b -->|defined in| 08b990fd_7d02_bdd6_b438_263a2d2f6a56 style 7786ed23_5e51_a848_8b88_f00c1526b15b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/handler/ssl/AbstractSslHandlerThroughputBenchmark.java lines 56–70
@Setup(Level.Iteration)
public final void setup() throws Exception {
allocator = new PooledByteBufAllocator(true);
initSslHandlers(allocator);
wrapSrcBuffer = allocateBuffer(messageSize);
byte[] bytes = new byte[messageSize];
ThreadLocalRandom.current().nextBytes(bytes);
wrapSrcBuffer.writeBytes(bytes);
// Complete the initial TLS handshake.
doHandshake();
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does setup() do?
setup() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/handler/ssl/AbstractSslHandlerThroughputBenchmark.java.
Where is setup() defined?
setup() is defined in microbench/src/main/java/io/netty/microbench/handler/ssl/AbstractSslHandlerThroughputBenchmark.java at line 56.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free