Package io.netty.buffer
Interface PoolArenaMetric
- All Superinterfaces:
SizeClassesMetric
- All Known Implementing Classes:
PoolArena
,PoolArena.DirectArena
,PoolArena.HeapArena
Expose metrics for an arena.
-
Method Summary
Modifier and TypeMethodDescriptionReturns an unmodifiableList
which holdsPoolChunkListMetric
s.long
Return the number of currently active allocations.long
Return the number of active bytes that are currently allocated by the arena.long
Return the number of currently active huge allocations.long
Return the number of currently active normal allocations.long
Return the number of currently active small allocations.long
Deprecated.Tiny allocations have been merged into small allocations.long
Return the number of allocations done via the arena.int
Returns the number of chunk lists for the arena.long
Return the number of deallocations done via the arena.long
Return the number of huge allocations done via the arena.long
Return the number of huge deallocations done via the arena.long
Return the number of normal allocations done via the arena.long
Return the number of normal deallocations done via the arena.long
Return the number of small allocations done via the arena.long
Return the number of small deallocations done via the arena.int
Returns the number of small sub-pages for the arena.int
Returns the number of thread caches backed by this arena.long
Deprecated.Tiny allocations have been merged into small allocations.long
Deprecated.Tiny deallocations have been merged into small deallocations.int
Deprecated.Tiny sub-pages have been merged into small sub-pages.Returns an unmodifiableList
which holdsPoolSubpageMetric
s for small sub-pages.Deprecated.Tiny sub-pages have been merged into small sub-pages.Methods inherited from interface io.netty.buffer.SizeClassesMetric
normalizeSize, pageIdx2size, pageIdx2sizeCompute, pages2pageIdx, pages2pageIdxFloor, size2SizeIdx, sizeIdx2size, sizeIdx2sizeCompute
-
Method Details
-
numThreadCaches
int numThreadCaches()Returns the number of thread caches backed by this arena. -
numTinySubpages
Deprecated.Tiny sub-pages have been merged into small sub-pages.Returns the number of tiny sub-pages for the 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. -
tinySubpages
Deprecated.Tiny sub-pages have been merged into small sub-pages.Returns an unmodifiableList
which holdsPoolSubpageMetric
s for tiny sub-pages. -
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. -
numTinyAllocations
Deprecated.Tiny allocations have been merged into small allocations.Return the number of tiny allocations done via the arena. -
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. -
numTinyDeallocations
Deprecated.Tiny deallocations have been merged into small deallocations.Return the number of tiny deallocations done via the arena. -
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. -
numActiveTinyAllocations
Deprecated.Tiny allocations have been merged into small allocations.Return the number of currently active tiny 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.
-