stop() — netty Function Reference
Architecture documentation for the stop() function in TrafficCounter.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 5e4871b7_eba5_c41b_7640_6d372497627c["stop()"] 0606a665_efe6_a36d_b40e_7c957ec61157["TrafficCounter"] 5e4871b7_eba5_c41b_7640_6d372497627c -->|defined in| 0606a665_efe6_a36d_b40e_7c957ec61157 5248e4b7_37c1_bd3a_13dd_c41b35aadaa3["configure()"] 5248e4b7_37c1_bd3a_13dd_c41b35aadaa3 -->|calls| 5e4871b7_eba5_c41b_7640_6d372497627c f0559304_8ba6_0605_464e_6fac6ea4a7a0["resetAccounting()"] 5e4871b7_eba5_c41b_7640_6d372497627c -->|calls| f0559304_8ba6_0605_464e_6fac6ea4a7a0 3a7ac9a4_071b_42d6_770c_79e68b9cb0a0["milliSecondFromNano()"] 5e4871b7_eba5_c41b_7640_6d372497627c -->|calls| 3a7ac9a4_071b_42d6_770c_79e68b9cb0a0 style 5e4871b7_eba5_c41b_7640_6d372497627c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/traffic/TrafficCounter.java lines 203–215
public synchronized void stop() {
if (!monitorActive) {
return;
}
monitorActive = false;
resetAccounting(milliSecondFromNano());
if (trafficShapingHandler != null) {
trafficShapingHandler.doAccounting(this);
}
if (scheduledFuture != null) {
scheduledFuture.cancel(true);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does stop() do?
stop() is a function in the netty codebase, defined in handler/src/main/java/io/netty/handler/traffic/TrafficCounter.java.
Where is stop() defined?
stop() is defined in handler/src/main/java/io/netty/handler/traffic/TrafficCounter.java at line 203.
What does stop() call?
stop() calls 2 function(s): milliSecondFromNano, resetAccounting.
What calls stop()?
stop() is called by 1 function(s): configure.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free