Uses of Class
org.apache.hadoop.hbase.io.ByteBuffAllocator
Package
Description
Provides implementations of
HFile
and HFile
BlockCache
.Tools to help define network clients and servers.
-
Uses of org.apache.hadoop.hbase.io.ByteBuffAllocator in org.apache.hadoop.hbase.io
Modifier and TypeClassDescriptionclass
org.apache.hadoop.hbase.io.DeallocateRewriteByteBuffAllocator
A ByteBuffAllocator that rewrite the bytebuffers right after released.Modifier and TypeFieldDescriptionstatic final org.apache.hadoop.hbase.io.ByteBuffAllocator
ByteBuffAllocator.HEAP
Modifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.io.ByteBuffAllocator
ByteBuffAllocator.create
(org.apache.hadoop.conf.Configuration conf, boolean reservoirEnabled) Initialize anByteBuffAllocator
which will try to allocate ByteBuffers from off-heap if reservoir is enabled and the reservoir has enough buffers, otherwise the allocator will just allocate the insufficient buffers from on-heap to meet the requirement.Modifier and TypeMethodDescriptionstatic long
ByteBuffAllocator.getHeapAllocationBytes
(org.apache.hadoop.hbase.io.ByteBuffAllocator... allocators) static double
ByteBuffAllocator.getHeapAllocationRatio
(org.apache.hadoop.hbase.io.ByteBuffAllocator... allocators) ModifierConstructorDescriptionByteBufferListOutputStream
(org.apache.hadoop.hbase.io.ByteBuffAllocator allocator) -
Uses of org.apache.hadoop.hbase.io.ByteBuffAllocator in org.apache.hadoop.hbase.io.hfile
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.ByteBuffAllocator
CacheConfig.getByteBuffAllocator()
org.apache.hadoop.hbase.io.ByteBuffAllocator
HFileBlock.getByteBuffAllocator()
Modifier and TypeMethodDescriptionT
CacheableDeserializer.deserialize
(org.apache.hadoop.hbase.nio.ByteBuff b, org.apache.hadoop.hbase.io.ByteBuffAllocator allocator) org.apache.hadoop.hbase.io.hfile.HFileBlock
HFileBlock.BlockDeserializer.deserialize
(org.apache.hadoop.hbase.nio.ByteBuff buf, org.apache.hadoop.hbase.io.ByteBuffAllocator alloc) org.apache.hadoop.hbase.io.hfile.HFileBlockBuilder
HFileBlockBuilder.withByteBuffAllocator
(org.apache.hadoop.hbase.io.ByteBuffAllocator allocator) ModifierConstructorDescriptionCacheConfig
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.client.ColumnFamilyDescriptor family, org.apache.hadoop.hbase.io.hfile.BlockCache blockCache, org.apache.hadoop.hbase.io.ByteBuffAllocator byteBuffAllocator) Create a cache configuration using the specified configuration object and family descriptor.HFileBlock
(org.apache.hadoop.hbase.io.hfile.BlockType blockType, int onDiskSizeWithoutHeader, int uncompressedSizeWithoutHeader, long prevBlockOffset, org.apache.hadoop.hbase.nio.ByteBuff buf, boolean fillHeader, long offset, int nextBlockOnDiskSize, int onDiskDataSizeWithHeader, org.apache.hadoop.hbase.io.hfile.HFileContext fileContext, org.apache.hadoop.hbase.io.ByteBuffAllocator allocator) Creates a newHFile
block from the given fields. -
Uses of org.apache.hadoop.hbase.io.ByteBuffAllocator in org.apache.hadoop.hbase.ipc
Modifier and TypeFieldDescriptionprotected final org.apache.hadoop.hbase.io.ByteBuffAllocator
RpcServer.bbAllocator
protected final org.apache.hadoop.hbase.io.ByteBuffAllocator
ServerCall.bbAllocator
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.ByteBuffAllocator
RpcServer.getByteBuffAllocator()
org.apache.hadoop.hbase.io.ByteBuffAllocator
RpcServerInterface.getByteBuffAllocator()
Allocator to allocate/free the ByteBuffers, those ByteBuffers can be on-heap or off-heap. -
Uses of org.apache.hadoop.hbase.io.ByteBuffAllocator in org.apache.hadoop.hbase.regionserver
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.ByteBuffAllocator
RegionServicesForStores.getByteBuffAllocator()