Home / Function/ scheduleLotsOutsideLoop() — netty Function Reference

scheduleLotsOutsideLoop() — netty Function Reference

Architecture documentation for the scheduleLotsOutsideLoop() function in ScheduleFutureTaskBenchmark.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  e0fed5e5_f0d9_7acc_7b89_fd0814ff3404["scheduleLotsOutsideLoop()"]
  6b87c127_0762_4f93_f59d_da8a82ce3654["ScheduleFutureTaskBenchmark"]
  e0fed5e5_f0d9_7acc_7b89_fd0814ff3404 -->|defined in| 6b87c127_0762_4f93_f59d_da8a82ce3654
  style e0fed5e5_f0d9_7acc_7b89_fd0814ff3404 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

microbench/src/main/java/io/netty/util/concurrent/ScheduleFutureTaskBenchmark.java lines 92–100

    @Benchmark
    @Threads(1)
    public Future<?> scheduleLotsOutsideLoop(final ThreadState threadState) {
        final AbstractScheduledEventExecutor eventLoop = threadState.eventLoop;
        for (int i = 1; i <= threadState.num; i++) {
            eventLoop.schedule(NO_OP, i, TimeUnit.HOURS);
        }
        return null;
    }

Domain

Subdomains

Frequently Asked Questions

What does scheduleLotsOutsideLoop() do?
scheduleLotsOutsideLoop() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/util/concurrent/ScheduleFutureTaskBenchmark.java.
Where is scheduleLotsOutsideLoop() defined?
scheduleLotsOutsideLoop() is defined in microbench/src/main/java/io/netty/util/concurrent/ScheduleFutureTaskBenchmark.java at line 92.

Analyze Your Own Codebase

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

Try Supermodel Free