Package io.netty.buffer
Interface ByteBufAllocatorMetric
-
- All Known Implementing Classes:
AdaptiveByteBufAllocator
,PooledByteBufAllocatorMetric
public interface ByteBufAllocatorMetric
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
usedDirectMemory()
Returns the number of bytes of direct memory used by aByteBufAllocator
or-1
if unknown.long
usedHeapMemory()
Returns the number of bytes of heap memory used by aByteBufAllocator
or-1
if unknown.
-
-
-
Method Detail
-
usedHeapMemory
long usedHeapMemory()
Returns the number of bytes of heap memory used by aByteBufAllocator
or-1
if unknown.
-
usedDirectMemory
long usedDirectMemory()
Returns the number of bytes of direct memory used by aByteBufAllocator
or-1
if unknown.
-
-