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 longusedDirectMemory()Returns the number of bytes of direct memory used by aByteBufAllocatoror-1if unknown.longusedHeapMemory()Returns the number of bytes of heap memory used by aByteBufAllocatoror-1if unknown.
-
-
-
Method Detail
-
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.
-
-