Package org.apache.hadoop.hbase.io.hfile
Class TestCacheConfig.DataCacheEntry
java.lang.Object
org.apache.hadoop.hbase.io.hfile.TestCacheConfig.DataCacheEntry
- All Implemented Interfaces:
org.apache.hadoop.hbase.io.HeapSize,org.apache.hadoop.hbase.io.hfile.Cacheable,org.apache.hadoop.hbase.nio.HBaseReferenceCounted,org.apache.hbase.thirdparty.io.netty.util.ReferenceCounted
- Direct Known Subclasses:
TestCacheConfig.IndexCacheEntry,TestCacheConfig.MetaCacheEntry
- Enclosing class:
- TestCacheConfig
static class TestCacheConfig.DataCacheEntry
extends Object
implements org.apache.hadoop.hbase.io.hfile.Cacheable
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>private static TestCacheConfig.DataCacheEntryprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.hadoop.hbase.io.hfile.BlockTypeorg.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>intlongheapSize()voidserialize(ByteBuffer destination, boolean includeNextBlockMetadata) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.hadoop.hbase.io.hfile.Cacheable
refCnt, release, retainMethods inherited from interface org.apache.hadoop.hbase.nio.HBaseReferenceCounted
release, retain, touch, touch
-
Field Details
-
SIZE
- See Also:
-
SINGLETON
-
deserializer
final org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable> deserializer
-
-
Constructor Details
-
DataCacheEntry
-
DataCacheEntry
DataCacheEntry(org.apache.hadoop.hbase.io.hfile.Cacheable c)
-
-
Method Details
-
toString
-
heapSize
- Specified by:
heapSizein interfaceorg.apache.hadoop.hbase.io.HeapSize
-
getSerializedLength
- Specified by:
getSerializedLengthin interfaceorg.apache.hadoop.hbase.io.hfile.Cacheable
-
serialize
- Specified by:
serializein interfaceorg.apache.hadoop.hbase.io.hfile.Cacheable
-
getDeserializer
public org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable> getDeserializer()- Specified by:
getDeserializerin interfaceorg.apache.hadoop.hbase.io.hfile.Cacheable
-
getBlockType
- Specified by:
getBlockTypein interfaceorg.apache.hadoop.hbase.io.hfile.Cacheable
-