Home / Function/ String() — netty Function Reference

String() — netty Function Reference

Architecture documentation for the String() function in PoolArena.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  83401f7b_16b1_988e_f79a_c6bd898b2cb1["String()"]
  de926ba9_75e3_c416_27fc_3623234991a8["PoolArena"]
  83401f7b_16b1_988e_f79a_c6bd898b2cb1 -->|defined in| de926ba9_75e3_c416_27fc_3623234991a8
  a9955d3f_a5f7_e9ad_827d_87d47e26b575["lock()"]
  83401f7b_16b1_988e_f79a_c6bd898b2cb1 -->|calls| a9955d3f_a5f7_e9ad_827d_87d47e26b575
  246523a4_abb6_01fa_1e87_cb2bb0b863b8["appendPoolSubPages()"]
  83401f7b_16b1_988e_f79a_c6bd898b2cb1 -->|calls| 246523a4_abb6_01fa_1e87_cb2bb0b863b8
  c24c38bc_94a5_6dd7_1e0a_4abbf00b61e7["unlock()"]
  83401f7b_16b1_988e_f79a_c6bd898b2cb1 -->|calls| c24c38bc_94a5_6dd7_1e0a_4abbf00b61e7
  style 83401f7b_16b1_988e_f79a_c6bd898b2cb1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/PoolArena.java lines 581–617

    @Override
    public String toString() {
        lock();
        try {
            StringBuilder buf = new StringBuilder()
                    .append("Chunk(s) at 0~25%:")
                    .append(StringUtil.NEWLINE)
                    .append(qInit)
                    .append(StringUtil.NEWLINE)
                    .append("Chunk(s) at 0~50%:")
                    .append(StringUtil.NEWLINE)
                    .append(q000)
                    .append(StringUtil.NEWLINE)
                    .append("Chunk(s) at 25~75%:")
                    .append(StringUtil.NEWLINE)
                    .append(q025)
                    .append(StringUtil.NEWLINE)
                    .append("Chunk(s) at 50~100%:")
                    .append(StringUtil.NEWLINE)
                    .append(q050)
                    .append(StringUtil.NEWLINE)
                    .append("Chunk(s) at 75~100%:")
                    .append(StringUtil.NEWLINE)
                    .append(q075)
                    .append(StringUtil.NEWLINE)
                    .append("Chunk(s) at 100%:")
                    .append(StringUtil.NEWLINE)
                    .append(q100)
                    .append(StringUtil.NEWLINE)
                    .append("small subpages:");
            appendPoolSubPages(buf, smallSubpagePools);
            buf.append(StringUtil.NEWLINE);
            return buf.toString();
        } finally {
            unlock();
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does String() do?
String() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolArena.java.
Where is String() defined?
String() is defined in buffer/src/main/java/io/netty/buffer/PoolArena.java at line 581.
What does String() call?
String() calls 3 function(s): appendPoolSubPages, lock, unlock.

Analyze Your Own Codebase

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

Try Supermodel Free