Home / Function/ informReadOperation() — netty Function Reference

informReadOperation() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  76726d03_426c_39e9_2809_0b7b309d2e35["informReadOperation()"]
  25ae99c4_4bb1_9893_ce25_fa54995d6af1["GlobalTrafficShapingHandler"]
  76726d03_426c_39e9_2809_0b7b309d2e35 -->|defined in| 25ae99c4_4bb1_9893_ce25_fa54995d6af1
  style 76726d03_426c_39e9_2809_0b7b309d2e35 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java lines 307–314

    @Override
    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

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/GlobalTrafficShapingHandler.java.
Where is informReadOperation() defined?
informReadOperation() is defined in handler/src/main/java/io/netty/handler/traffic/GlobalTrafficShapingHandler.java at line 307.

Analyze Your Own Codebase

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

Try Supermodel Free