Top Description Methods
io.netty5.buffer.pool

public Interface PoolArenaMetric

extends SizeClassesMetric
Known Direct Implementers
io.netty5.buffer.pool.PoolArena
Imports
java.util.List

Expose metrics for an arena.

Method Summary

Modifier and TypeMethod and Description
public List<PoolChunkListMetric>
chunkLists()

Returns an unmodifiable List which holds PoolChunkListMetrics.

public long
numActiveAllocations()

Return the number of currently active allocations.

public long
numActiveBytes()

Return the number of active bytes that are currently allocated by the arena.

public long
numActiveHugeAllocations()

Return the number of currently active huge allocations.

public long
numActiveNormalAllocations()

Return the number of currently active normal allocations.

public long
numActiveSmallAllocations()

Return the number of currently active small allocations.

public long
numAllocations()

Return the number of allocations done via the arena.

public int
numChunkLists()

Returns the number of chunk lists for the arena.

public long
numDeallocations()

Return the number of deallocations done via the arena.

public long
numHugeAllocations()

Return the number of huge allocations done via the arena.

public long
numHugeDeallocations()

Return the number of huge deallocations done via the arena.

public long
numNormalAllocations()

Return the number of normal allocations done via the arena.

public long
numNormalDeallocations()

Return the number of normal deallocations done via the arena.

public long
numPinnedBytes()

Return the number of bytes that are currently pinned to buffer instances, by the arena.

public long
numSmallAllocations()

Return the number of small allocations done via the arena.

public long
numSmallDeallocations()

Return the number of small deallocations done via the arena.

public int
numSmallSubpages()

Returns the number of small sub-pages for the arena.

public int
numThreadCaches()

Returns the number of thread caches backed by this arena.

public List<PoolSubpageMetric>
smallSubpages()

Returns an unmodifiable List which holds PoolSubpageMetrics for small sub-pages.

Inherited from io.netty5.buffer.pool.SizeClassesMetric:
normalizeSizepageIdx2sizepageIdx2sizeComputepages2pageIdxpages2pageIdxFloorsize2SizeIdxsizeIdx2sizesizeIdx2sizeCompute

Method Detail

chunkListsback to summary
public List<PoolChunkListMetric> chunkLists()

Returns an unmodifiable List which holds PoolChunkListMetrics.

numActiveAllocationsback to summary
public long numActiveAllocations()

Return the number of currently active allocations.

numActiveBytesback to summary
public long numActiveBytes()

Return the number of active bytes that are currently allocated by the arena.

numActiveHugeAllocationsback to summary
public long numActiveHugeAllocations()

Return the number of currently active huge allocations.

numActiveNormalAllocationsback to summary
public long numActiveNormalAllocations()

Return the number of currently active normal allocations.

numActiveSmallAllocationsback to summary
public long numActiveSmallAllocations()

Return the number of currently active small allocations.

numAllocationsback to summary
public long numAllocations()

Return the number of allocations done via the arena. This includes all sizes.

numChunkListsback to summary
public int numChunkLists()

Returns the number of chunk lists for the arena.

numDeallocationsback to summary
public long numDeallocations()

Return the number of deallocations done via the arena. This includes all sizes.

numHugeAllocationsback to summary
public long numHugeAllocations()

Return the number of huge allocations done via the arena.

numHugeDeallocationsback to summary
public long numHugeDeallocations()

Return the number of huge deallocations done via the arena.

numNormalAllocationsback to summary
public long numNormalAllocations()

Return the number of normal allocations done via the arena.

numNormalDeallocationsback to summary
public long numNormalDeallocations()

Return the number of normal deallocations done via the arena.

numPinnedBytesback to summary
public long numPinnedBytes()

Return the number of bytes that are currently pinned to buffer instances, by the arena.

numSmallAllocationsback to summary
public long numSmallAllocations()

Return the number of small allocations done via the arena.

numSmallDeallocationsback to summary
public long numSmallDeallocations()

Return the number of small deallocations done via the arena.

numSmallSubpagesback to summary
public int numSmallSubpages()

Returns the number of small sub-pages for the arena.

numThreadCachesback to summary
public int numThreadCaches()

Returns the number of thread caches backed by this arena.

smallSubpagesback to summary
public List<PoolSubpageMetric> smallSubpages()

Returns an unmodifiable List which holds PoolSubpageMetrics for small sub-pages.