Home / Function/ scheduleFromEventLoop() — netty Function Reference

scheduleFromEventLoop() — netty Function Reference

Architecture documentation for the scheduleFromEventLoop() function in AbstractScheduledEventExecutor.java from the netty codebase.

Function java CommonUtil Concurrent calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  d220a7ba_33a5_2c12_fa28_5fd3886ff6ff["scheduleFromEventLoop()"]
  d3e4d355_bb72_2545_e37d_dc0891709c08["AbstractScheduledEventExecutor"]
  d220a7ba_33a5_2c12_fa28_5fd3886ff6ff -->|defined in| d3e4d355_bb72_2545_e37d_dc0891709c08
  fa02f52d_6040_47ba_1b99_ab109df248e1["schedule()"]
  fa02f52d_6040_47ba_1b99_ab109df248e1 -->|calls| d220a7ba_33a5_2c12_fa28_5fd3886ff6ff
  a6e16e16_cde9_a55b_e23d_982b79d60537["scheduledTaskQueue()"]
  d220a7ba_33a5_2c12_fa28_5fd3886ff6ff -->|calls| a6e16e16_cde9_a55b_e23d_982b79d60537
  style d220a7ba_33a5_2c12_fa28_5fd3886ff6ff fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/AbstractScheduledEventExecutor.java lines 338–344

    final void scheduleFromEventLoop(final ScheduledFutureTask<?> task) {
        // nextTaskId a long and so there is no chance it will overflow back to 0
        if (task.getId() == 0L) {
            task.setId(++nextTaskId);
        }
        scheduledTaskQueue().add(task);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does scheduleFromEventLoop() do?
scheduleFromEventLoop() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/AbstractScheduledEventExecutor.java.
Where is scheduleFromEventLoop() defined?
scheduleFromEventLoop() is defined in common/src/main/java/io/netty/util/concurrent/AbstractScheduledEventExecutor.java at line 338.
What does scheduleFromEventLoop() call?
scheduleFromEventLoop() calls 1 function(s): scheduledTaskQueue.
What calls scheduleFromEventLoop()?
scheduleFromEventLoop() is called by 1 function(s): schedule.

Analyze Your Own Codebase

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

Try Supermodel Free