Package org.apache.hadoop.hbase.io
Class TestByteBuffAllocator.TrackingMultiByteBuff
java.lang.Object
org.apache.hadoop.hbase.nio.ByteBuff
org.apache.hadoop.hbase.nio.MultiByteBuff
org.apache.hadoop.hbase.io.TestByteBuffAllocator.TrackingMultiByteBuff
- All Implemented Interfaces:
org.apache.hadoop.hbase.nio.HBaseReferenceCounted,org.apache.hbase.thirdparty.io.netty.util.ReferenceCounted
- Enclosing class:
- TestByteBuffAllocator
private static class TestByteBuffAllocator.TrackingMultiByteBuff
extends org.apache.hadoop.hbase.nio.MultiByteBuff
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) intFields inherited from class org.apache.hadoop.hbase.nio.ByteBuff
refCnt -
Constructor Summary
ConstructorsConstructorDescriptionTrackingMultiByteBuff(ByteBuffer... items) TrackingMultiByteBuff(org.apache.hadoop.hbase.io.ByteBuffAllocator.Recycler recycler, ByteBuffer... items) -
Method Summary
Methods inherited from class org.apache.hadoop.hbase.nio.MultiByteBuff
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, writeMethods inherited from class org.apache.hadoop.hbase.nio.ByteBuff
compareTo, getRefCnt, read, readCompressedInt, readLong, release, toBytes, toString, touch, touch, wrap, wrap, wrap, wrap, wrap, wrapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.nio.HBaseReferenceCounted
release, retain
-
Field Details
-
refCntCalls
int refCntCalls -
checkRefCountCalls
-
-
Constructor Details
-
TrackingMultiByteBuff
-
TrackingMultiByteBuff
public TrackingMultiByteBuff(org.apache.hadoop.hbase.io.ByteBuffAllocator.Recycler recycler, ByteBuffer... items)
-
-
Method Details
-
getRefCntCalls
-
getCheckRefCountCalls
-
checkRefCount
- Overrides:
checkRefCountin classorg.apache.hadoop.hbase.nio.ByteBuff
-
refCnt
- Specified by:
refCntin interfaceorg.apache.hbase.thirdparty.io.netty.util.ReferenceCounted- Overrides:
refCntin classorg.apache.hadoop.hbase.nio.ByteBuff
-