PoolArenaMetric Type — netty Architecture
Architecture documentation for the PoolArenaMetric type/interface in PoolArenaMetric.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD a6e852d6_450f_64a8_b6d1_15baa915406d["PoolArenaMetric"] 1cc1fbea_ab77_ffad_23e8_2ab62fab3065["PoolArenaMetric.java"] a6e852d6_450f_64a8_b6d1_15baa915406d -->|defined in| 1cc1fbea_ab77_ffad_23e8_2ab62fab3065 style a6e852d6_450f_64a8_b6d1_15baa915406d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/PoolArenaMetric.java lines 24–176
public interface PoolArenaMetric extends SizeClassesMetric {
/**
* Returns the number of thread caches backed by this arena.
*/
int numThreadCaches();
/**
* Returns the number of tiny sub-pages for the arena.
*
* @deprecated Tiny sub-pages have been merged into small sub-pages.
*/
@Deprecated
int numTinySubpages();
/**
* Returns the number of small sub-pages for the arena.
*/
int numSmallSubpages();
/**
* Returns the number of chunk lists for the arena.
*/
int numChunkLists();
/**
* Returns an unmodifiable {@link List} which holds {@link PoolSubpageMetric}s for tiny sub-pages.
*
* @deprecated Tiny sub-pages have been merged into small sub-pages.
*/
@Deprecated
List<PoolSubpageMetric> tinySubpages();
/**
* Returns an unmodifiable {@link List} which holds {@link PoolSubpageMetric}s for small sub-pages.
*/
List<PoolSubpageMetric> smallSubpages();
/**
* Returns an unmodifiable {@link List} which holds {@link PoolChunkListMetric}s.
*/
List<PoolChunkListMetric> chunkLists();
/**
* Return the number of allocations done via the arena. This includes all sizes.
*/
long numAllocations();
/**
* Return the number of tiny allocations done via the arena.
*
* @deprecated Tiny allocations have been merged into small allocations.
*/
@Deprecated
long numTinyAllocations();
/**
* Return the number of small allocations done via the arena.
*/
long numSmallAllocations();
/**
* Return the number of normal allocations done via the arena.
*/
long numNormalAllocations();
/**
* Return the number of huge allocations done via the arena.
*/
long numHugeAllocations();
/**
* Return the number of chunks allocations done via the arena, or -1 if not defined.
*/
default long numChunkAllocations() {
return -1;
}
/**
* Return the number of deallocations done via the arena. This includes all sizes.
*/
Source
Frequently Asked Questions
What is the PoolArenaMetric type?
PoolArenaMetric is a type/interface in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolArenaMetric.java.
Where is PoolArenaMetric defined?
PoolArenaMetric is defined in buffer/src/main/java/io/netty/buffer/PoolArenaMetric.java at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free