public final class PooledByteBufAllocatorMetric extends java.lang.Object implements ByteBufAllocatorMetric
| Modifier and Type | Method and Description |
|---|---|
int |
chunkSize()
返回竞技场的块大小。
|
java.util.List<PoolArenaMetric> |
directArenas()
返回一个 List所有直接的PoolArenaMetric这个池提供的秒。
|
java.util.List<PoolArenaMetric> |
heapArenas()
返回一个 List所有堆PoolArenaMetric这个池提供的秒。
|
int |
normalCacheSize()
返回普通缓存的大小。
|
int |
numDirectArenas()
返回直接竞技场的数量。
|
int |
numHeapArenas()
返回堆场的数量。
|
int |
numThreadLocalCaches()
返回此 PooledByteBufAllocator使用的线程本地缓存的数量。
|
int |
smallCacheSize()
返回小缓存的大小。
|
int |
tinyCacheSize()
返回微小缓存的大小。
|
java.lang.String |
toString() |
long |
usedDirectMemory()
如果未知,则返回 ByteBufAllocator或-1使用的直接内存的字节数。
|
long |
usedHeapMemory()
如果未知,则返回 ByteBufAllocator或-1使用的堆内存的字节数。
|
public int numHeapArenas()
public int numDirectArenas()
public java.util.List<PoolArenaMetric> heapArenas()
List所有堆PoolArenaMetric这个池提供的秒。
public java.util.List<PoolArenaMetric> directArenas()
List所有直接的PoolArenaMetric这个池提供的秒。
public int numThreadLocalCaches()
PooledByteBufAllocator使用的线程本地缓存的数量。
public int tinyCacheSize()
public int smallCacheSize()
public int normalCacheSize()
public int chunkSize()
public long usedHeapMemory()
ByteBufAllocatorMetric复制的描述
ByteBufAllocator或-1使用的堆内存的字节数。
usedHeapMemory在界面
ByteBufAllocatorMetric
public long usedDirectMemory()
ByteBufAllocatorMetric复制的描述
ByteBufAllocator或-1使用的直接内存的字节数。
usedDirectMemory接口
ByteBufAllocatorMetric
public java.lang.String toString()
toString在类
java.lang.Object
Copyright © 2008–2018 The Netty Project. All rights reserved.