Home / Function/ stop() — netty Function Reference

stop() — netty Function Reference

Architecture documentation for the stop() function in GlobalChannelTrafficCounter.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  a5856cba_651f_03dc_2e4a_4629f660f686["stop()"]
  2a051faf_25b0_e46d_ad69_5f887649cee4["GlobalChannelTrafficCounter"]
  a5856cba_651f_03dc_2e4a_4629f660f686 -->|defined in| 2a051faf_25b0_e46d_ad69_5f887649cee4
  style a5856cba_651f_03dc_2e4a_4629f660f686 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

handler/src/main/java/io/netty/handler/traffic/GlobalChannelTrafficCounter.java lines 105–116

    @Override
    public synchronized void stop() {
        if (!monitorActive) {
            return;
        }
        monitorActive = false;
        resetAccounting(milliSecondFromNano());
        trafficShapingHandler.doAccounting(this);
        if (scheduledFuture != null) {
            scheduledFuture.cancel(true);
        }
    }

Domain

Subdomains

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

Analyze Your Own Codebase

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

Try Supermodel Free