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() |
org.apache.hadoop.hbase.io.hfile.Cacheable.MemoryType |
getMemoryType() |
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.HeapSizepublic int getSerializedLength()
getSerializedLength in interface org.apache.hadoop.hbase.io.hfile.Cacheablepublic void serialize(ByteBuffer destination, boolean includeNextBlockMetadata)
serialize in interface org.apache.hadoop.hbase.io.hfile.Cacheablepublic org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable> getDeserializer()
getDeserializer in interface org.apache.hadoop.hbase.io.hfile.Cacheablepublic org.apache.hadoop.hbase.io.hfile.BlockType getBlockType()
getBlockType in interface org.apache.hadoop.hbase.io.hfile.Cacheablepublic org.apache.hadoop.hbase.io.hfile.Cacheable.MemoryType getMemoryType()
getMemoryType in interface org.apache.hadoop.hbase.io.hfile.CacheableCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.