Class UnpooledByteBufAllocator.UnpooledByteBufAllocatorMetric

java.lang.Object
io.netty.buffer.UnpooledByteBufAllocator.UnpooledByteBufAllocatorMetric
All Implemented Interfaces:
ByteBufAllocatorMetric
Enclosing class:
UnpooledByteBufAllocator

private static final class UnpooledByteBufAllocator.UnpooledByteBufAllocatorMetric extends java.lang.Object implements ByteBufAllocatorMetric
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) final java.util.concurrent.atomic.LongAdder
     
    (package private) final java.util.concurrent.atomic.LongAdder
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
     
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • directCounter

      final java.util.concurrent.atomic.LongAdder directCounter
    • heapCounter

      final java.util.concurrent.atomic.LongAdder heapCounter
  • Constructor Details

    • UnpooledByteBufAllocatorMetric

      private UnpooledByteBufAllocatorMetric()
  • Method Details