scheduleCancelLotsOutsideLoop() — netty Function Reference
Architecture documentation for the scheduleCancelLotsOutsideLoop() function in ScheduleFutureTaskBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a1290479_03da_448e_2a0a_774f92c412f5["scheduleCancelLotsOutsideLoop()"] 6b87c127_0762_4f93_f59d_da8a82ce3654["ScheduleFutureTaskBenchmark"] a1290479_03da_448e_2a0a_774f92c412f5 -->|defined in| 6b87c127_0762_4f93_f59d_da8a82ce3654 style a1290479_03da_448e_2a0a_774f92c412f5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/util/concurrent/ScheduleFutureTaskBenchmark.java lines 102–110
@Benchmark
@Threads(1)
public Future<?> scheduleCancelLotsOutsideLoop(final ThreadState threadState) {
final AbstractScheduledEventExecutor eventLoop = threadState.eventLoop;
for (int i = 1; i <= threadState.num; i++) {
eventLoop.schedule(NO_OP, i, TimeUnit.HOURS).cancel(false);
}
return null;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does scheduleCancelLotsOutsideLoop() do?
scheduleCancelLotsOutsideLoop() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/util/concurrent/ScheduleFutureTaskBenchmark.java.
Where is scheduleCancelLotsOutsideLoop() defined?
scheduleCancelLotsOutsideLoop() is defined in microbench/src/main/java/io/netty/util/concurrent/ScheduleFutureTaskBenchmark.java at line 102.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free