Interface ByteBufAllocatorMetric
- All Known Implementing Classes:
AdaptiveByteBufAllocator, PooledByteBufAllocatorMetric
public interface ByteBufAllocatorMetric
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the number of bytes of direct memory used by aByteBufAllocatoror-1if unknown.longReturns the number of bytes of heap memory used by aByteBufAllocatoror-1if unknown.
-
Method Details
-
usedHeapMemory
long usedHeapMemory()Returns the number of bytes of heap memory used by aByteBufAllocatoror-1if unknown. -
usedDirectMemory
long usedDirectMemory()Returns the number of bytes of direct memory used by aByteBufAllocatoror-1if unknown.
-