Home / Function/ scheduleLots() — netty Function Reference

scheduleLots() — netty Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

microbench/src/main/java/io/netty/util/concurrent/ScheduleFutureTaskBenchmark.java lines 79–90

    @Benchmark
    @Threads(3)
    public Future<?> scheduleLots(final ThreadState threadState) {
        return threadState.eventLoop.submit(new Runnable() {
            @Override
            public void run() {
                for (int i = 1; i <= threadState.num; i++) {
                    threadState.eventLoop.schedule(NO_OP, i, TimeUnit.HOURS);
                }
            }
        }).syncUninterruptibly();
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free