Package org.apache.hadoop.hbase.nio
package org.apache.hadoop.hbase.nio
-
ClassDescriptionAn abstract class that abstracts out as to how the byte buffers are used, either single or multiple.Functional interface for Channel readThe HBaseReferenceCounted disabled several methods in Netty's
ReferenceCounted
, because those methods are unlikely to be used.Provides a unified view of all the underlying ByteBuffers and will look as if a bigger sequential buffer.Maintain an reference count integer inside to track life cycle ofByteBuff
, if the reference count become 0, it'll callByteBuffAllocator.Recycler.free()
exactly once.An implementation of ByteBuff where a single BB backs the BBI.