Package | Description |
---|---|
org.apache.hadoop.hbase.io |
Modifier and Type | Class and Description |
---|---|
class |
DeallocateRewriteByteBuffAllocator
A ByteBuffAllocator that rewrite the bytebuffers right after released.
|
Modifier and Type | Field and Description |
---|---|
static ByteBuffAllocator |
ByteBuffAllocator.HEAP |
Modifier and Type | Method and Description |
---|---|
static ByteBuffAllocator |
ByteBuffAllocator.create(org.apache.hadoop.conf.Configuration conf,
boolean reservoirEnabled)
Initialize an
ByteBuffAllocator 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 Type | Method and Description |
---|---|
static long |
ByteBuffAllocator.getHeapAllocationBytes(ByteBuffAllocator... allocators) |
static double |
ByteBuffAllocator.getHeapAllocationRatio(ByteBuffAllocator... allocators) |
Constructor and Description |
---|
ByteBufferListOutputStream(ByteBuffAllocator allocator) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.