Home / Function/ add() — netty Function Reference

add() — netty Function Reference

Architecture documentation for the add() function in PoolChunkList.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  91139286_a1fc_610b_22e4_6610a6b11791["add()"]
  ad035c77_35f5_72ad_c059_f20a84e5fef2["PoolChunkList"]
  91139286_a1fc_610b_22e4_6610a6b11791 -->|defined in| ad035c77_35f5_72ad_c059_f20a84e5fef2
  18042f3d_b641_22b7_d7b2_aba6c8edf02c["allocate()"]
  18042f3d_b641_22b7_d7b2_aba6c8edf02c -->|calls| 91139286_a1fc_610b_22e4_6610a6b11791
  10074dd8_b3a8_04b4_efaa_9822dfa37f82["iterator()"]
  10074dd8_b3a8_04b4_efaa_9822dfa37f82 -->|calls| 91139286_a1fc_610b_22e4_6610a6b11791
  01ec12e0_052d_217e_a5d8_c8040b24bf97["add0()"]
  91139286_a1fc_610b_22e4_6610a6b11791 -->|calls| 01ec12e0_052d_217e_a5d8_c8040b24bf97
  style 91139286_a1fc_610b_22e4_6610a6b11791 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/PoolChunkList.java lines 156–162

    void add(PoolChunk<T> chunk) {
        if (chunk.freeBytes <= freeMinThreshold) {
            nextList.add(chunk);
            return;
        }
        add0(chunk);
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does add() do?
add() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolChunkList.java.
Where is add() defined?
add() is defined in buffer/src/main/java/io/netty/buffer/PoolChunkList.java at line 156.
What does add() call?
add() calls 1 function(s): add0.
What calls add()?
add() is called by 2 function(s): allocate, iterator.

Analyze Your Own Codebase

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

Try Supermodel Free