Top Description Methods
io.netty.buffer

public Interface PoolArenaMetric

extends SizeClassesMetric
Known Direct Implementers
io.netty.buffer.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
numActiveTinyAllocations()

Deprecated Tiny allocations have been merged into small allocations.
Return the number of currently active tiny 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
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 long
numTinyAllocations()

Deprecated Tiny allocations have been merged into small allocations.
Return the number of tiny allocations done via the arena.
public long
numTinyDeallocations()

Deprecated Tiny deallocations have been merged into small deallocations.
Return the number of tiny deallocations done via the arena.
public int
numTinySubpages()

Deprecated Tiny sub-pages have been merged into small sub-pages.
Returns the number of tiny sub-pages for the arena.
public List<PoolSubpageMetric>
smallSubpages()

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

public List<PoolSubpageMetric>
tinySubpages()

Deprecated Tiny sub-pages have been merged into small sub-pages.
Returns an unmodifiable List which holds PoolSubpageMetrics for tiny sub-pages.
Inherited from io.netty.buffer.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.

numActiveTinyAllocationsback to summary
public long numActiveTinyAllocations()

Deprecated

Tiny allocations have been merged into small allocations.

Return the number of currently active tiny allocations.

Annotations
@Deprecated
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.

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.

numTinyAllocationsback to summary
public long numTinyAllocations()

Deprecated

Tiny allocations have been merged into small allocations.

Return the number of tiny allocations done via the arena.

Annotations
@Deprecated
numTinyDeallocationsback to summary
public long numTinyDeallocations()

Deprecated

Tiny deallocations have been merged into small deallocations.

Return the number of tiny deallocations done via the arena.

Annotations
@Deprecated
numTinySubpagesback to summary
public int numTinySubpages()

Deprecated

Tiny sub-pages have been merged into small sub-pages.

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

Annotations
@Deprecated
smallSubpagesback to summary
public List<PoolSubpageMetric> smallSubpages()

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

tinySubpagesback to summary
public List<PoolSubpageMetric> tinySubpages()

Deprecated

Tiny sub-pages have been merged into small sub-pages.

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

Annotations
@Deprecated