Package io.netty.buffer
Interface PoolArenaMetric
-
- All Superinterfaces:
SizeClassesMetric
public interface PoolArenaMetric extends SizeClassesMetric
Expose metrics for an arena.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description java.util.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.default longnumActiveChunks()Return the number of currently active chunks, or -1 if not definedlongnumActiveHugeAllocations()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.longnumActiveTinyAllocations()Deprecated.Tiny allocations have been merged into small allocations.longnumAllocations()Return the number of allocations done via the arena.default longnumChunkAllocations()Return the number of chunks allocations done via the arena, or -1 if not defined.default longnumChunkDeallocations()Return the number of chunk deallocations done via the arena, or -1 if nor defined.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.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.longnumTinyAllocations()Deprecated.Tiny allocations have been merged into small allocations.longnumTinyDeallocations()Deprecated.Tiny deallocations have been merged into small deallocations.intnumTinySubpages()Deprecated.Tiny sub-pages have been merged into small sub-pages.java.util.List<PoolSubpageMetric>smallSubpages()Returns an unmodifiableListwhich holdsPoolSubpageMetrics for small sub-pages.java.util.List<PoolSubpageMetric>tinySubpages()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 Detail
-
numThreadCaches
int numThreadCaches()
Returns the number of thread caches backed by this arena.
-
numTinySubpages
@Deprecated int 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 java.util.List<PoolSubpageMetric> tinySubpages()
Deprecated.Tiny sub-pages have been merged into small sub-pages.Returns an unmodifiableListwhich holdsPoolSubpageMetrics for tiny sub-pages.
-
smallSubpages
java.util.List<PoolSubpageMetric> smallSubpages()
Returns an unmodifiableListwhich holdsPoolSubpageMetrics for small sub-pages.
-
chunkLists
java.util.List<PoolChunkListMetric> chunkLists()
Returns an unmodifiableListwhich holdsPoolChunkListMetrics.
-
numAllocations
long numAllocations()
Return the number of allocations done via the arena. This includes all sizes.
-
numTinyAllocations
@Deprecated long 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.
-
numChunkAllocations
default long numChunkAllocations()
Return the number of chunks allocations done via the arena, or -1 if not defined.
-
numDeallocations
long numDeallocations()
Return the number of deallocations done via the arena. This includes all sizes.
-
numTinyDeallocations
@Deprecated long 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.
-
numChunkDeallocations
default long numChunkDeallocations()
Return the number of chunk deallocations done via the arena, or -1 if nor defined.
-
numActiveAllocations
long numActiveAllocations()
Return the number of currently active allocations.
-
numActiveTinyAllocations
@Deprecated long 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.
-
numActiveChunks
default long numActiveChunks()
Return the number of currently active chunks, or -1 if not defined
-
numActiveBytes
long numActiveBytes()
Return the number of active bytes that are currently allocated by the arena.
-
-