Uses of Class
org.apache.hadoop.hbase.nio.RefCnt
Packages that use RefCnt
-
Uses of RefCnt in org.apache.hadoop.hbase.io.hfile.bucket
Fields in org.apache.hadoop.hbase.io.hfile.bucket declared as RefCntModifier and TypeFieldDescriptionprivate final RefCnt
BucketEntry.refCnt
The RefCnt means how many paths are referring theBucketEntry
, there are two cases: 1.If theIOEngine.usesSharedMemory()
is false(eg.FileIOEngine
),the refCnt is always 1 until thisBucketEntry
is evicted fromBucketCache.backingMap
.Even if the correspondingHFileBlock
is referenced by RPC reading, the refCnt should not increase. -
Uses of RefCnt in org.apache.hadoop.hbase.nio
Fields in org.apache.hadoop.hbase.nio declared as RefCntFields in org.apache.hadoop.hbase.nio with type parameters of type RefCntModifier and TypeFieldDescriptionstatic final org.apache.hbase.thirdparty.io.netty.util.ResourceLeakDetector<RefCnt>
RefCnt.detector
private final org.apache.hbase.thirdparty.io.netty.util.ResourceLeakTracker<RefCnt>
RefCnt.leak
Methods in org.apache.hadoop.hbase.nio that return RefCntModifier and TypeMethodDescriptionstatic RefCnt
RefCnt.create()
Create anRefCnt
with an initial reference count = 1.static RefCnt
RefCnt.create
(ByteBuffAllocator.Recycler recycler) ByteBuff.getRefCnt()
RefCnt.touch()
Methods in org.apache.hadoop.hbase.nio with parameters of type RefCntModifier and TypeMethodDescriptionstatic ByteBuff
ByteBuff.wrap
(ByteBuffer[] buffers, RefCnt refCnt) In theory, the upstream should never construct an ByteBuff by passing an given refCnt, so please don't use this public method in other place.private static ByteBuff
ByteBuff.wrap
(ByteBuffer buffer, RefCnt refCnt) private static ByteBuff
ByteBuff.wrap
(List<ByteBuffer> buffers, RefCnt refCnt) Constructors in org.apache.hadoop.hbase.nio with parameters of type RefCntModifierConstructorDescription(package private)
MultiByteBuff
(RefCnt refCnt, ByteBuffer... items) private
MultiByteBuff
(RefCnt refCnt, ByteBuffer[] items, int[] itemBeginPos, int limit, int limitedIndex, int curItemIndex, int markedIndex) (package private)
SingleByteBuff
(RefCnt refCnt, ByteBuffer buf) -
Uses of RefCnt in org.apache.hadoop.hbase.regionserver
Fields in org.apache.hadoop.hbase.regionserver declared as RefCnt