-
- All Superinterfaces:
SizeClassesMetric
public interface PoolArenaMetric extends SizeClassesMetric
Expose metrics for an arena.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PoolChunkListMetric>
chunkLists()
Returns an unmodifiableList
which holdsPoolChunkListMetric
s.long
numActiveAllocations()
Return the number of currently active allocations.long
numActiveBytes()
Return the number of active bytes that are currently allocated by the arena.long
numActiveHugeAllocations()
Return the number of currently active huge allocations.long
numActiveNormalAllocations()
Return the number of currently active normal allocations.long
numActiveSmallAllocations()
Return the number of currently active small allocations.long
numAllocations()
Return the number of allocations done via the arena.int
numChunkLists()
Returns the number of chunk lists for the arena.long
numDeallocations()
Return the number of deallocations done via the arena.long
numHugeAllocations()
Return the number of huge allocations done via the arena.long
numHugeDeallocations()
Return the number of huge deallocations done via the arena.long
numNormalAllocations()
Return the number of normal allocations done via the arena.long
numNormalDeallocations()
Return the number of normal deallocations done via the arena.long
numPinnedBytes()
Return the number of bytes that are currently pinned to buffer instances, by the arena.long
numSmallAllocations()
Return the number of small allocations done via the arena.long
numSmallDeallocations()
Return the number of small deallocations done via the arena.int
numSmallSubpages()
Returns the number of small sub-pages for the arena.int
numThreadCaches()
Returns the number of thread caches backed by this arena.List<PoolSubpageMetric>
smallSubpages()
Returns an unmodifiableList
which holdsPoolSubpageMetric
s for small sub-pages.-
Methods inherited from interface io.netty5.buffer.api.pool.SizeClassesMetric
normalizeSize, pageIdx2size, pageIdx2sizeCompute, pages2pageIdx, pages2pageIdxFloor, size2SizeIdx, sizeIdx2size, sizeIdx2sizeCompute
-
-
-
-
Method Detail
-
numThreadCaches
int numThreadCaches()
Returns the number of thread caches backed by this arena.
-
numSmallSubpages
int numSmallSubpages()
Returns the number of small sub-pages for the arena.
-
numChunkLists
int numChunkLists()
Returns the number of chunk lists for the arena.
-
smallSubpages
List<PoolSubpageMetric> smallSubpages()
Returns an unmodifiableList
which holdsPoolSubpageMetric
s for small sub-pages.
-
chunkLists
List<PoolChunkListMetric> chunkLists()
Returns an unmodifiableList
which holdsPoolChunkListMetric
s.
-
numAllocations
long numAllocations()
Return the number of allocations done via the arena. This includes all sizes.
-
numSmallAllocations
long numSmallAllocations()
Return the number of small allocations done via the arena.
-
numNormalAllocations
long numNormalAllocations()
Return the number of normal allocations done via the arena.
-
numHugeAllocations
long numHugeAllocations()
Return the number of huge allocations done via the arena.
-
numDeallocations
long numDeallocations()
Return the number of deallocations done via the arena. This includes all sizes.
-
numSmallDeallocations
long numSmallDeallocations()
Return the number of small deallocations done via the arena.
-
numNormalDeallocations
long numNormalDeallocations()
Return the number of normal deallocations done via the arena.
-
numHugeDeallocations
long numHugeDeallocations()
Return the number of huge deallocations done via the arena.
-
numActiveAllocations
long numActiveAllocations()
Return the number of currently active allocations.
-
numActiveSmallAllocations
long numActiveSmallAllocations()
Return the number of currently active small allocations.
-
numActiveNormalAllocations
long numActiveNormalAllocations()
Return the number of currently active normal allocations.
-
numActiveHugeAllocations
long numActiveHugeAllocations()
Return the number of currently active huge allocations.
-
numActiveBytes
long numActiveBytes()
Return the number of active bytes that are currently allocated by the arena.
-
numPinnedBytes
long numPinnedBytes()
Return the number of bytes that are currently pinned to buffer instances, by the arena.
-
-