- 
- All Superinterfaces:
- SizeClassesMetric
 
 public interface PoolArenaMetric extends SizeClassesMetric Expose metrics for an arena.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PoolChunkListMetric>chunkLists()Returns an unmodifiableListwhich holdsPoolChunkListMetrics.longnumActiveAllocations()Return the number of currently active allocations.longnumActiveBytes()Return the number of active bytes that are currently allocated by the arena.longnumActiveHugeAllocations()Return the number of currently active huge allocations.longnumActiveNormalAllocations()Return the number of currently active normal allocations.longnumActiveSmallAllocations()Return the number of currently active small allocations.longnumAllocations()Return the number of allocations done via the arena.intnumChunkLists()Returns the number of chunk lists for the arena.longnumDeallocations()Return the number of deallocations done via the arena.longnumHugeAllocations()Return the number of huge allocations done via the arena.longnumHugeDeallocations()Return the number of huge deallocations done via the arena.longnumNormalAllocations()Return the number of normal allocations done via the arena.longnumNormalDeallocations()Return the number of normal deallocations done via the arena.longnumPinnedBytes()Return the number of bytes that are currently pinned to buffer instances, by the arena.longnumSmallAllocations()Return the number of small allocations done via the arena.longnumSmallDeallocations()Return the number of small deallocations done via the arena.intnumSmallSubpages()Returns the number of small sub-pages for the arena.intnumThreadCaches()Returns the number of thread caches backed by this arena.List<PoolSubpageMetric>smallSubpages()Returns an unmodifiableListwhich holdsPoolSubpageMetrics for small sub-pages.- 
Methods inherited from interface io.netty5.buffer.api.pool.SizeClassesMetricnormalizeSize, pageIdx2size, pageIdx2sizeCompute, pages2pageIdx, pages2pageIdxFloor, size2SizeIdx, sizeIdx2size, sizeIdx2sizeCompute
 
- 
 
- 
- 
- 
Method Detail- 
numThreadCachesint numThreadCaches() Returns the number of thread caches backed by this arena.
 - 
numSmallSubpagesint numSmallSubpages() Returns the number of small sub-pages for the arena.
 - 
numChunkListsint numChunkLists() Returns the number of chunk lists for the arena.
 - 
smallSubpagesList<PoolSubpageMetric> smallSubpages() Returns an unmodifiableListwhich holdsPoolSubpageMetrics for small sub-pages.
 - 
chunkListsList<PoolChunkListMetric> chunkLists() Returns an unmodifiableListwhich holdsPoolChunkListMetrics.
 - 
numAllocationslong numAllocations() Return the number of allocations done via the arena. This includes all sizes.
 - 
numSmallAllocationslong numSmallAllocations() Return the number of small allocations done via the arena.
 - 
numNormalAllocationslong numNormalAllocations() Return the number of normal allocations done via the arena.
 - 
numHugeAllocationslong numHugeAllocations() Return the number of huge allocations done via the arena.
 - 
numDeallocationslong numDeallocations() Return the number of deallocations done via the arena. This includes all sizes.
 - 
numSmallDeallocationslong numSmallDeallocations() Return the number of small deallocations done via the arena.
 - 
numNormalDeallocationslong numNormalDeallocations() Return the number of normal deallocations done via the arena.
 - 
numHugeDeallocationslong numHugeDeallocations() Return the number of huge deallocations done via the arena.
 - 
numActiveAllocationslong numActiveAllocations() Return the number of currently active allocations.
 - 
numActiveSmallAllocationslong numActiveSmallAllocations() Return the number of currently active small allocations.
 - 
numActiveNormalAllocationslong numActiveNormalAllocations() Return the number of currently active normal allocations.
 - 
numActiveHugeAllocationslong numActiveHugeAllocations() Return the number of currently active huge allocations.
 - 
numActiveByteslong numActiveBytes() Return the number of active bytes that are currently allocated by the arena.
 - 
numPinnedByteslong numPinnedBytes() Return the number of bytes that are currently pinned to buffer instances, by the arena.
 
- 
 
-