static class TestCacheConfig.DataCacheEntry extends Object implements org.apache.hadoop.hbase.io.hfile.Cacheable
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable> |
deserializer |
private static TestCacheConfig.DataCacheEntry |
SINGLETON |
private static int |
SIZE |
Constructor and Description |
---|
DataCacheEntry() |
DataCacheEntry(org.apache.hadoop.hbase.io.hfile.Cacheable c) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.io.hfile.BlockType |
getBlockType() |
org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable> |
getDeserializer() |
int |
getSerializedLength() |
long |
heapSize() |
void |
serialize(ByteBuffer destination,
boolean includeNextBlockMetadata) |
String |
toString() |
private static final int SIZE
private static TestCacheConfig.DataCacheEntry SINGLETON
final org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable> deserializer
DataCacheEntry()
DataCacheEntry(org.apache.hadoop.hbase.io.hfile.Cacheable c)
public long heapSize()
heapSize
in interface org.apache.hadoop.hbase.io.HeapSize
public int getSerializedLength()
getSerializedLength
in interface org.apache.hadoop.hbase.io.hfile.Cacheable
public void serialize(ByteBuffer destination, boolean includeNextBlockMetadata)
serialize
in interface org.apache.hadoop.hbase.io.hfile.Cacheable
public org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable> getDeserializer()
getDeserializer
in interface org.apache.hadoop.hbase.io.hfile.Cacheable
public org.apache.hadoop.hbase.io.hfile.BlockType getBlockType()
getBlockType
in interface org.apache.hadoop.hbase.io.hfile.Cacheable
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.