ByteBufAllocatorMetric Type — netty Architecture
Architecture documentation for the ByteBufAllocatorMetric type/interface in ByteBufAllocatorMetric.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b0ca2a9a_12ff_6deb_7d09_603c1fc6ecc2["ByteBufAllocatorMetric"] 53de9cf5_6dc8_00a2_b65b_c2ecae56442a["ByteBufAllocatorMetric.java"] b0ca2a9a_12ff_6deb_7d09_603c1fc6ecc2 -->|defined in| 53de9cf5_6dc8_00a2_b65b_c2ecae56442a style b0ca2a9a_12ff_6deb_7d09_603c1fc6ecc2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/ByteBufAllocatorMetric.java lines 18–28
public interface ByteBufAllocatorMetric {
/**
* Returns the number of bytes of heap memory used by a {@link ByteBufAllocator} or {@code -1} if unknown.
*/
long usedHeapMemory();
/**
* Returns the number of bytes of direct memory used by a {@link ByteBufAllocator} or {@code -1} if unknown.
*/
long usedDirectMemory();
}
Source
Frequently Asked Questions
What is the ByteBufAllocatorMetric type?
ByteBufAllocatorMetric is a type/interface in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/ByteBufAllocatorMetric.java.
Where is ByteBufAllocatorMetric defined?
ByteBufAllocatorMetric is defined in buffer/src/main/java/io/netty/buffer/ByteBufAllocatorMetric.java at line 18.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free