Class TestByteBuffAllocator.TrackingSingleByteBuff

java.lang.Object
org.apache.hadoop.hbase.nio.ByteBuff
org.apache.hadoop.hbase.nio.SingleByteBuff
org.apache.hadoop.hbase.io.TestByteBuffAllocator.TrackingSingleByteBuff
All Implemented Interfaces:
org.apache.hadoop.hbase.nio.HBaseReferenceCounted, org.apache.hbase.thirdparty.io.netty.util.ReferenceCounted
Enclosing class:
TestByteBuffAllocator

private static class TestByteBuffAllocator.TrackingSingleByteBuff extends org.apache.hadoop.hbase.nio.SingleByteBuff
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
     
    (package private) int
     

    Fields inherited from class org.apache.hadoop.hbase.nio.ByteBuff

    refCnt
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TrackingSingleByteBuff(org.apache.hadoop.hbase.io.ByteBuffAllocator.Recycler recycler, ByteBuffer buf)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    int
     
    int
     
    int
     

    Methods inherited from class org.apache.hadoop.hbase.nio.SingleByteBuff

    array, arrayOffset, asSubByteBuffer, asSubByteBuffer, capacity, duplicate, equals, get, get, get, get, get, get, getByteAfterPosition, getInt, getInt, getIntAfterPosition, getLong, getLong, getLongAfterPosition, getShort, getShort, getShortAfterPosition, hasArray, hashCode, hasRemaining, limit, limit, mark, moveBack, nioByteBuffers, position, position, put, put, put, put, put, putInt, putLong, read, read, remaining, reset, retain, rewind, skip, slice, toBytes, write

    Methods inherited from class org.apache.hadoop.hbase.nio.ByteBuff

    compareTo, getRefCnt, read, readCompressedInt, readLong, release, toBytes, toString, touch, touch, wrap, wrap, wrap, wrap, wrap, wrap

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.hbase.nio.HBaseReferenceCounted

    release, retain
  • Field Details

  • Constructor Details

  • Method Details

    • getRefCntCalls

      public int getRefCntCalls()
    • getCheckRefCountCalls

      public int getCheckRefCountCalls()
    • checkRefCount

      protected void checkRefCount()
      Overrides:
      checkRefCount in class org.apache.hadoop.hbase.nio.ByteBuff
    • refCnt

      public int refCnt()
      Specified by:
      refCnt in interface org.apache.hbase.thirdparty.io.netty.util.ReferenceCounted
      Overrides:
      refCnt in class org.apache.hadoop.hbase.nio.ByteBuff