Home / Function/ setWriteChannelLimit() — netty Function Reference

setWriteChannelLimit() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  d9a15e06_bbc9_b2b2_be79_cc48f528a819["setWriteChannelLimit()"]
  70857fc2_a134_e299_7b48_1738d53c0016["GlobalChannelTrafficShapingHandler"]
  d9a15e06_bbc9_b2b2_be79_cc48f528a819 -->|defined in| 70857fc2_a134_e299_7b48_1738d53c0016
  style d9a15e06_bbc9_b2b2_be79_cc48f528a819 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java lines 421–427

    public void setWriteChannelLimit(long writeLimit) {
        writeChannelLimit = writeLimit;
        long now = TrafficCounter.milliSecondFromNano();
        for (PerChannel perChannel : channelQueues.values()) {
            perChannel.channelTrafficCounter.resetAccounting(now);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does setWriteChannelLimit() do?
setWriteChannelLimit() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java.
Where is setWriteChannelLimit() defined?
setWriteChannelLimit() is defined in handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java at line 421.

Analyze Your Own Codebase

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

Try Supermodel Free