Class ArrayByteBufferPool.Tracking.Buffer

All Implemented Interfaces:
Retainable, RetainableByteBuffer
Enclosing class:
ArrayByteBufferPool.Tracking

public class ArrayByteBufferPool.Tracking.Buffer extends RetainableByteBuffer.Wrapper
  • Method Details

    • getSize

      public int getSize()
    • getAcquireInstant

      public Instant getAcquireInstant()
    • getAcquireStack

      public Throwable getAcquireStack()
    • retain

      public void retain()
      Description copied from interface: Retainable

      Retains this resource, potentially incrementing a reference count if there are resources that will be released.

      Specified by:
      retain in interface Retainable
      Overrides:
      retain in class Retainable.Wrapper
    • release

      public boolean release()
      Description copied from interface: Retainable

      Releases this resource, potentially decrementing a reference count (if any).

      Specified by:
      release in interface Retainable
      Overrides:
      release in class Retainable.Wrapper
      Returns:
      true when the reference count goes to zero or if there was no reference count, false otherwise.
    • dump

      public String dump()