Class ExclusiveMemHFileBlock

java.lang.Object
org.apache.hadoop.hbase.io.hfile.HFileBlock
org.apache.hadoop.hbase.io.hfile.ExclusiveMemHFileBlock
All Implemented Interfaces:
HeapSize, Cacheable, HBaseReferenceCounted, org.apache.hbase.thirdparty.io.netty.util.ReferenceCounted

@Private public class ExclusiveMemHFileBlock extends HFileBlock
The ByteBuffAllocator won't allocate pooled heap ByteBuff now; at the same time, if allocate an off-heap ByteBuff from allocator, then it must be a pooled one. That's to say, an exclusive memory HFileBlock would must be an heap block and a shared memory HFileBlock would must be an off-heap block.

The exclusive memory HFileBlock will do nothing when calling retain or release methods, because its memory will be garbage collected by JVM, even if its reference count decrease to zero, we can do nothing for the de-allocating.

See Also: