Home / Function/ removeAllChildrenExcept() — netty Function Reference

removeAllChildrenExcept() — netty Function Reference

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

Function java Buffer Allocators calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  14668215_be12_0440_a4cb_6e6686da3f8a["removeAllChildrenExcept()"]
  7bb99c84_0884_e59e_f284_a7da408d2406["State"]
  14668215_be12_0440_a4cb_6e6686da3f8a -->|defined in| 7bb99c84_0884_e59e_f284_a7da408d2406
  fb17eda3_f88a_c99f_e79c_e7e5ccb06a40["takeChild()"]
  fb17eda3_f88a_c99f_e79c_e7e5ccb06a40 -->|calls| 14668215_be12_0440_a4cb_6e6686da3f8a
  8d0c762f_3641_1298_766d_c1efcbdd7b69["initChildren()"]
  14668215_be12_0440_a4cb_6e6686da3f8a -->|calls| 8d0c762f_3641_1298_766d_c1efcbdd7b69
  style 14668215_be12_0440_a4cb_6e6686da3f8a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/main/java/io/netty/handler/codec/http2/WeightedFairQueueByteDistributor.java lines 573–583

        private IntObjectMap<State> removeAllChildrenExcept(State stateToRetain) {
            stateToRetain = children.remove(stateToRetain.streamId);
            IntObjectMap<State> prevChildren = children;
            // This map should be re-initialized in anticipation for the 1 exclusive child which will be added.
            // It will either be added directly in this method, or after this method is called...but it will be added.
            initChildren();
            if (stateToRetain != null) {
                children.put(stateToRetain.streamId, stateToRetain);
            }
            return prevChildren;
        }

Domain

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free