public interface ByteBufAllocatorMetric
限定符和类型 | 方法和说明 |
---|---|
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. |
long usedHeapMemory()
ByteBufAllocator
or -1
if unknown.long usedDirectMemory()
ByteBufAllocator
or -1
if unknown.