Top Methods
io.netty5.buffer.pool

public Interface BufferAllocatorMetric

Known Direct Implementers
io.netty5.buffer.pool.PooledBufferAllocatorMetric
Imports
io.netty5.buffer.BufferAllocator, java.util.List

Method Summary

Modifier and TypeMethod and Description
public List<PoolArenaMetric>
arenaMetrics()

Return a List of all PoolArenaMetrics that are provided by this pool.

public int
chunkSize()

Return the chunk size for an arena.

public int
normalCacheSize()

Return the size of the normal cache.

public int
numArenas()

Return the number of arenas.

public int
numThreadLocalCaches()

Return the number of thread local caches used by this PooledBufferAllocator.

public long
pinnedMemory()

Returns the number of bytes of memory that is currently pinned to the buffers allocated by a BufferAllocator, or -1 if unknown.

public int
smallCacheSize()

Return the size of the small cache.

public long
usedMemory()

Returns the number of bytes of heap memory used by a BufferAllocator or -1 if unknown.

Method Detail

arenaMetricsback to summary
public List<PoolArenaMetric> arenaMetrics()

Return a List of all PoolArenaMetrics that are provided by this pool.

chunkSizeback to summary
public int chunkSize()

Return the chunk size for an arena.

normalCacheSizeback to summary
public int normalCacheSize()

Return the size of the normal cache.

numArenasback to summary
public int numArenas()

Return the number of arenas.

numThreadLocalCachesback to summary
public int numThreadLocalCaches()

Return the number of thread local caches used by this PooledBufferAllocator.

pinnedMemoryback to summary
public long pinnedMemory()

Returns the number of bytes of memory that is currently pinned to the buffers allocated by a BufferAllocator, or -1 if unknown.

smallCacheSizeback to summary
public int smallCacheSize()

Return the size of the small cache.

usedMemoryback to summary
public long usedMemory()

Returns the number of bytes of heap memory used by a BufferAllocator or -1 if unknown.