Interface ByteBufAllocatorMetric

All Known Implementing Classes:
PooledByteBufAllocatorMetric, UnpooledByteBufAllocator.UnpooledByteBufAllocatorMetric

public interface ByteBufAllocatorMetric
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the number of bytes of direct memory used by a ByteBufAllocator or -1 if unknown.
    long
    Returns the number of bytes of heap memory used by a ByteBufAllocator or -1 if unknown.
  • Method Details

    • usedHeapMemory

      long usedHeapMemory()
      Returns the number of bytes of heap memory used by a ByteBufAllocator or -1 if unknown.
    • usedDirectMemory

      long usedDirectMemory()
      Returns the number of bytes of direct memory used by a ByteBufAllocator or -1 if unknown.