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