public final class PooledByteBufAllocatorMetric extends java.lang.Object implements ByteBufAllocatorMetric
PooledByteBufAllocator.| Modifier and Type | Method and Description |
|---|---|
int |
chunkSize()
Return the chunk size for an arena.
|
java.util.List<PoolArenaMetric> |
directArenas()
Return a
List of all direct PoolArenaMetrics that are provided by this pool. |
java.util.List<PoolArenaMetric> |
heapArenas()
Return a
List of all heap PoolArenaMetrics that are provided by this pool. |
int |
normalCacheSize()
Return the size of the normal cache.
|
int |
numDirectArenas()
Return the number of direct arenas.
|
int |
numHeapArenas()
Return the number of heap arenas.
|
int |
numThreadLocalCaches()
Return the number of thread local caches used by this
PooledByteBufAllocator. |
int |
smallCacheSize()
Return the size of the small cache.
|
int |
tinyCacheSize()
Return the size of the tiny cache.
|
java.lang.String |
toString() |
long |
usedDirectMemory()
Returns the number of bytes of direct memory used by a
ByteBufAllocator or -1 if unknown. |
long |
usedHeapMemory()
Returns the number of bytes of heap memory used by a
ByteBufAllocator or -1 if unknown. |
public int numHeapArenas()
public int numDirectArenas()
public java.util.List<PoolArenaMetric> heapArenas()
List of all heap PoolArenaMetrics that are provided by this pool.public java.util.List<PoolArenaMetric> directArenas()
List of all direct PoolArenaMetrics that are provided by this pool.public int numThreadLocalCaches()
PooledByteBufAllocator.public int tinyCacheSize()
public int smallCacheSize()
public int normalCacheSize()
public int chunkSize()
public long usedHeapMemory()
ByteBufAllocatorMetricByteBufAllocator or -1 if unknown.usedHeapMemory in interface ByteBufAllocatorMetricpublic long usedDirectMemory()
ByteBufAllocatorMetricByteBufAllocator or -1 if unknown.usedDirectMemory in interface ByteBufAllocatorMetricpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2018 The Netty Project. All rights reserved.