-
public interface BufferAllocatorMetric
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PoolArenaMetric>arenaMetrics()Return aListof allPoolArenaMetrics that are provided by this pool.intchunkSize()Return the chunk size for an arena.intnormalCacheSize()Return the size of the normal cache.intnumArenas()Return the number of arenas.intnumThreadLocalCaches()Return the number of thread local caches used by thisPooledBufferAllocator.longpinnedMemory()Returns the number of bytes of memory that is currently pinned to the buffers allocated by aBufferAllocator, or-1if unknown.intsmallCacheSize()Return the size of the small cache.longusedMemory()Returns the number of bytes of heap memory used by aBufferAllocatoror-1if unknown.
-
-
-
Method Detail
-
numArenas
int numArenas()
Return the number of arenas.
-
arenaMetrics
List<PoolArenaMetric> arenaMetrics()
Return aListof allPoolArenaMetrics that are provided by this pool.
-
numThreadLocalCaches
int numThreadLocalCaches()
Return the number of thread local caches used by thisPooledBufferAllocator.
-
smallCacheSize
int smallCacheSize()
Return the size of the small cache.
-
normalCacheSize
int normalCacheSize()
Return the size of the normal cache.
-
chunkSize
int chunkSize()
Return the chunk size for an arena.
-
usedMemory
long usedMemory()
Returns the number of bytes of heap memory used by aBufferAllocatoror-1if unknown.
-
pinnedMemory
long pinnedMemory()
Returns the number of bytes of memory that is currently pinned to the buffers allocated by aBufferAllocator, or-1if unknown.
-
-