Package io.netty.buffer
Interface ByteBufAllocatorMetric
- All Known Implementing Classes:
AdaptiveByteBufAllocator
,PooledByteBufAllocatorMetric
,UnpooledByteBufAllocator.UnpooledByteBufAllocatorMetric
public interface ByteBufAllocatorMetric
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the number of bytes of direct memory used by aByteBufAllocator
or-1
if unknown.long
Returns the number of bytes of heap memory used by aByteBufAllocator
or-1
if unknown.
-
Method Details
-
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.
-