Home / Function/ getTotalWeight() — netty Function Reference

getTotalWeight() — netty Function Reference

Architecture documentation for the getTotalWeight() function in WeightedFairQueueByteDistributor.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  1fffb7e5_18e2_6d2d_5034_f6b396e3925d["getTotalWeight()"]
  7bb99c84_0884_e59e_f284_a7da408d2406["State"]
  1fffb7e5_18e2_6d2d_5034_f6b396e3925d -->|defined in| 7bb99c84_0884_e59e_f284_a7da408d2406
  a7426564_13ec_4caa_ec35_83d94c9ad9d0["removeChild()"]
  a7426564_13ec_4caa_ec35_83d94c9ad9d0 -->|calls| 1fffb7e5_18e2_6d2d_5034_f6b396e3925d
  style 1fffb7e5_18e2_6d2d_5034_f6b396e3925d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributor.java lines 560–566

        private long getTotalWeight() {
            long totalWeight = 0L;
            for (State state : children.values()) {
                totalWeight += state.weight;
            }
            return totalWeight;
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does getTotalWeight() do?
getTotalWeight() is a function in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributor.java.
Where is getTotalWeight() defined?
getTotalWeight() is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributor.java at line 560.
What calls getTotalWeight()?
getTotalWeight() is called by 1 function(s): removeChild.

Analyze Your Own Codebase

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

Try Supermodel Free