createGlobalTrafficCounter() — netty Function Reference
Architecture documentation for the createGlobalTrafficCounter() function in GlobalChannelTrafficShapingHandler.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 87612d77_4348_8664_2730_9c2305a55ccb["createGlobalTrafficCounter()"] 70857fc2_a134_e299_7b48_1738d53c0016["GlobalChannelTrafficShapingHandler"] 87612d77_4348_8664_2730_9c2305a55ccb -->|defined in| 70857fc2_a134_e299_7b48_1738d53c0016 32866b34_af8c_68a2_c3dc_0d80794a41b8["GlobalChannelTrafficShapingHandler()"] 32866b34_af8c_68a2_c3dc_0d80794a41b8 -->|calls| 87612d77_4348_8664_2730_9c2305a55ccb cf8addf9_b3f8_ca59_a053_79f7174422d0["setMaxDeviation()"] 87612d77_4348_8664_2730_9c2305a55ccb -->|calls| cf8addf9_b3f8_ca59_a053_79f7174422d0 style 87612d77_4348_8664_2730_9c2305a55ccb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java lines 151–158
void createGlobalTrafficCounter(ScheduledExecutorService executor) {
// Default
setMaxDeviation(DEFAULT_DEVIATION, DEFAULT_SLOWDOWN, DEFAULT_ACCELERATION);
checkNotNullWithIAE(executor, "executor");
TrafficCounter tc = new GlobalChannelTrafficCounter(this, executor, "GlobalChannelTC", checkInterval);
setTrafficCounter(tc);
tc.start();
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does createGlobalTrafficCounter() do?
createGlobalTrafficCounter() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java.
Where is createGlobalTrafficCounter() defined?
createGlobalTrafficCounter() is defined in handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficShapingHandler.java at line 151.
What does createGlobalTrafficCounter() call?
createGlobalTrafficCounter() calls 1 function(s): setMaxDeviation.
What calls createGlobalTrafficCounter()?
createGlobalTrafficCounter() is called by 1 function(s): GlobalChannelTrafficShapingHandler.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free