Home / Function/ informReadOperation() — netty Function Reference

informReadOperation() — netty Function Reference

Architecture documentation for the informReadOperation() function in GlobalChannelTrafficShapingHandler.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  14157cdc_f7dc_7027_fd43_a7b46fcd9b3f["informReadOperation()"]
  70857fc2_a134_e299_7b48_1738d53c0016["GlobalChannelTrafficShapingHandler"]
  14157cdc_f7dc_7027_fd43_a7b46fcd9b3f -->|defined in| 70857fc2_a134_e299_7b48_1738d53c0016
  ae77ebe1_84b2_b0c0_804c_46784f484fe4["channelRead()"]
  ae77ebe1_84b2_b0c0_804c_46784f484fe4 -->|calls| 14157cdc_f7dc_7027_fd43_a7b46fcd9b3f
  style 14157cdc_f7dc_7027_fd43_a7b46fcd9b3f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java lines 588–595

    @Override
    protected void informReadOperation(final ChannelHandlerContext ctx, final long now) {
        Integer key = ctx.channel().hashCode();
        PerChannel perChannel = channelQueues.get(key);
        if (perChannel != null) {
            perChannel.lastReadTimestamp = now;
        }
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does informReadOperation() do?
informReadOperation() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java.
Where is informReadOperation() defined?
informReadOperation() is defined in handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java at line 588.
What calls informReadOperation()?
informReadOperation() is called by 1 function(s): channelRead.

Analyze Your Own Codebase

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

Try Supermodel Free