| Package | Description | 
|---|---|
| org.apache.hadoop.hbase.io.hfile.bucket | 
 Provides  
BucketCache, an implementation of
 BlockCache. | 
| org.apache.hadoop.hbase.nio | |
| org.apache.hadoop.hbase.regionserver | 
| Modifier and Type | Field and Description | 
|---|---|
private RefCnt | 
BucketEntry.refCnt
 The RefCnt means how many paths are referring the  
BucketEntry, there are two cases:
 1.If the IOEngine.usesSharedMemory() is false(eg.FileIOEngine),the refCnt is
   always 1 until this BucketEntry is evicted from BucketCache.backingMap.Even
   if the corresponding HFileBlock is referenced by RPC reading, the refCnt should not
   increase. | 
| Modifier and Type | Field and Description | 
|---|---|
protected RefCnt | 
ByteBuff.refCnt  | 
| Modifier and Type | Field and Description | 
|---|---|
private static org.apache.hbase.thirdparty.io.netty.util.ResourceLeakDetector<RefCnt> | 
RefCnt.detector  | 
private org.apache.hbase.thirdparty.io.netty.util.ResourceLeakTracker<RefCnt> | 
RefCnt.leak  | 
| Modifier and Type | Method and Description | 
|---|---|
static RefCnt | 
RefCnt.create()
Create an  
RefCnt with an initial reference count = 1. | 
static RefCnt | 
RefCnt.create(ByteBuffAllocator.Recycler recycler)  | 
RefCnt | 
ByteBuff.getRefCnt()  | 
RefCnt | 
RefCnt.touch()  | 
| Modifier and Type | Method and Description | 
|---|---|
static 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)  | 
| Constructor and Description | 
|---|
MultiByteBuff(RefCnt refCnt,
             ByteBuffer... items)  | 
MultiByteBuff(RefCnt refCnt,
             ByteBuffer[] items,
             int[] itemBeginPos,
             int limit,
             int limitedIndex,
             int curItemIndex,
             int markedIndex)  | 
SingleByteBuff(RefCnt refCnt,
              ByteBuffer buf)  | 
| Modifier and Type | Field and Description | 
|---|---|
private RefCnt | 
ImmutableMemStoreLAB.refCnt  | 
private RefCnt | 
MemStoreLABImpl.refCnt
Its initial value is 1, so it is one bigger than the current count of open scanners which
 reading data from this MemStoreLAB. 
 | 
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.