Home / Function/ reportActiveIoTime() — netty Function Reference

reportActiveIoTime() — netty Function Reference

Architecture documentation for the reportActiveIoTime() function in SingleThreadEventExecutor.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  43c9ae06_cbc4_76c8_1298_c5f9d69057a6["reportActiveIoTime()"]
  c9189467_acbc_07ea_3a8c_fecfe22ec122["SingleThreadEventExecutor"]
  43c9ae06_cbc4_76c8_1298_c5f9d69057a6 -->|defined in| c9189467_acbc_07ea_3a8c_fecfe22ec122
  957fd634_92d8_ad7a_8d3f_c6d9e5d7ee2a["inEventLoop()"]
  43c9ae06_cbc4_76c8_1298_c5f9d69057a6 -->|calls| 957fd634_92d8_ad7a_8d3f_c6d9e5d7ee2a
  style 43c9ae06_cbc4_76c8_1298_c5f9d69057a6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java lines 626–633

    @SuppressWarnings("NonAtomicOperationOnVolatileField")
    protected void reportActiveIoTime(long nanos) {
        assert inEventLoop();
        if (nanos > 0) {
            accumulatedActiveTimeNanos += nanos;
            lastActivityTimeNanos = ticker().nanoTime();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does reportActiveIoTime() do?
reportActiveIoTime() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java.
Where is reportActiveIoTime() defined?
reportActiveIoTime() is defined in common/src/main/java/io/netty/util/concurrent/SingleThreadEventExecutor.java at line 626.
What does reportActiveIoTime() call?
reportActiveIoTime() calls 1 function(s): inEventLoop.

Analyze Your Own Codebase

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

Try Supermodel Free