setReadChannelLimit() — netty Function Reference
Architecture documentation for the setReadChannelLimit() function in GlobalChannelTrafficShapingHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD ea92c64e_c391_0e57_9a47_29b2fada0de8["setReadChannelLimit()"] 70857fc2_a134_e299_7b48_1738d53c0016["GlobalChannelTrafficShapingHandler"] ea92c64e_c391_0e57_9a47_29b2fada0de8 -->|defined in| 70857fc2_a134_e299_7b48_1738d53c0016 style ea92c64e_c391_0e57_9a47_29b2fada0de8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java lines 439–445
public void setReadChannelLimit(long readLimit) {
readChannelLimit = readLimit;
long now = TrafficCounter.milliSecondFromNano();
for (PerChannel perChannel : channelQueues.values()) {
perChannel.channelTrafficCounter.resetAccounting(now);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does setReadChannelLimit() do?
setReadChannelLimit() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java.
Where is setReadChannelLimit() defined?
setReadChannelLimit() is defined in handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java at line 439.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free