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

    Fields
    Modifier and Type
    Field
    Description
    (package private) final org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>
     
     
    private static final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    DataCacheEntry(org.apache.hadoop.hbase.io.hfile.Cacheable c)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.hbase.io.hfile.BlockType
     
    org.apache.hadoop.hbase.io.hfile.CacheableDeserializer<org.apache.hadoop.hbase.io.hfile.Cacheable>
     
    int
     
    long
     
    void
    serialize(ByteBuffer destination, boolean includeNextBlockMetadata)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.hadoop.hbase.io.hfile.Cacheable

    refCnt, release, retain

    Methods inherited from interface org.apache.hadoop.hbase.nio.HBaseReferenceCounted

    release, retain, touch, touch
  • Field Details

  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • heapSize

      public long heapSize()
      Specified by:
      heapSize in interface org.apache.hadoop.hbase.io.HeapSize
    • getSerializedLength

      public int getSerializedLength()
      Specified by:
      getSerializedLength in interface org.apache.hadoop.hbase.io.hfile.Cacheable
    • serialize

      public void serialize(ByteBuffer destination, boolean includeNextBlockMetadata)
      Specified by:
      serialize in interface org.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:
      getDeserializer in interface org.apache.hadoop.hbase.io.hfile.Cacheable
    • getBlockType

      public org.apache.hadoop.hbase.io.hfile.BlockType getBlockType()
      Specified by:
      getBlockType in interface org.apache.hadoop.hbase.io.hfile.Cacheable