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 RefCntBucketEntry.refCntThe 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 thisBucketEntryis evicted fromBucketCache.backingMap.Even if the correspondingHFileBlockis 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.detectorprivate final org.apache.hbase.thirdparty.io.netty.util.ResourceLeakTracker<RefCnt>RefCnt.leakMethods in org.apache.hadoop.hbase.nio that return RefCntModifier and TypeMethodDescriptionstatic RefCntRefCnt.create()Create anRefCntwith an initial reference count = 1.static RefCntRefCnt.create(ByteBuffAllocator.Recycler recycler) ByteBuff.getRefCnt()RefCnt.touch()Methods in org.apache.hadoop.hbase.nio with parameters of type RefCntModifier and TypeMethodDescriptionstatic ByteBuffByteBuff.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 ByteBuffByteBuff.wrap(ByteBuffer buffer, RefCnt refCnt) private static ByteBuffByteBuff.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) privateMultiByteBuff(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