String() — netty Function Reference
Architecture documentation for the String() function in PoolChunk.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 069cea53_a79b_a678_38c8_cb6a16767249["String()"] 271be16e_fb25_9fe6_0749_cf5dd80dd903["PoolChunk"] 069cea53_a79b_a678_38c8_cb6a16767249 -->|defined in| 271be16e_fb25_9fe6_0749_cf5dd80dd903 079c9504_20dd_6c51_bbda_add63dd3286e["usage()"] 069cea53_a79b_a678_38c8_cb6a16767249 -->|calls| 079c9504_20dd_6c51_bbda_add63dd3286e style 069cea53_a79b_a678_38c8_cb6a16767249 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/PoolChunk.java lines 666–691
@Override
public String toString() {
final int freeBytes;
if (this.unpooled) {
freeBytes = this.freeBytes;
} else {
runsAvailLock.lock();
try {
freeBytes = this.freeBytes;
} finally {
runsAvailLock.unlock();
}
}
return new StringBuilder()
.append("Chunk(")
.append(Integer.toHexString(System.identityHashCode(this)))
.append(": ")
.append(usage(freeBytes))
.append("%, ")
.append(chunkSize - freeBytes)
.append('/')
.append(chunkSize)
.append(')')
.toString();
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does String() do?
String() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolChunk.java.
Where is String() defined?
String() is defined in buffer/src/main/java/io/netty/buffer/PoolChunk.java at line 666.
What does String() call?
String() calls 1 function(s): usage.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free