public class TestByteBufferIOEngine extends Object
ByteBufferIOEngine| Modifier and Type | Class and Description | 
|---|---|
(package private) static class  | 
TestByteBufferIOEngine.BufferGrabbingDeserializer
A CacheableDeserializer implementation which just store reference to the  
ByteBuff to be
 deserialized. | 
private static class  | 
TestByteBufferIOEngine.MockBucketEntry
Override the  
BucketEntry so that we can set an arbitrary offset. | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
private static TestByteBufferIOEngine.BufferGrabbingDeserializer | 
DESERIALIZER  | 
| Constructor and Description | 
|---|
TestByteBufferIOEngine()  | 
| Modifier and Type | Method and Description | 
|---|---|
(package private) static org.apache.hadoop.hbase.io.hfile.bucket.BucketEntry | 
createBucketEntry(long offset,
                 int len)  | 
(package private) static org.apache.hadoop.hbase.io.hfile.bucket.BucketEntry | 
createBucketEntry(long offset,
                 int len,
                 org.apache.hadoop.hbase.io.ByteBuffAllocator allocator)  | 
(package private) static org.apache.hadoop.hbase.nio.ByteBuff | 
createByteBuffer(int len,
                int val,
                boolean useHeap)  | 
(package private) static org.apache.hadoop.hbase.nio.ByteBuff | 
getByteBuff(org.apache.hadoop.hbase.io.hfile.bucket.BucketEntry be)  | 
void | 
testByteBufferIOEngine()  | 
void | 
testByteBufferIOEngineWithMBB()  | 
public static final HBaseClassTestRule CLASS_RULE
private static TestByteBufferIOEngine.BufferGrabbingDeserializer DESERIALIZER
public TestByteBufferIOEngine()
static org.apache.hadoop.hbase.io.hfile.bucket.BucketEntry createBucketEntry(long offset, int len)
static org.apache.hadoop.hbase.io.hfile.bucket.BucketEntry createBucketEntry(long offset, int len, org.apache.hadoop.hbase.io.ByteBuffAllocator allocator)
static org.apache.hadoop.hbase.nio.ByteBuff getByteBuff(org.apache.hadoop.hbase.io.hfile.bucket.BucketEntry be)
public void testByteBufferIOEngine() throws Exception
Exceptionstatic org.apache.hadoop.hbase.nio.ByteBuff createByteBuffer(int len, int val, boolean useHeap)
public void testByteBufferIOEngineWithMBB() throws Exception
ExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.