Package org.apache.hadoop.hbase.io.hfile
Class TinyLfuBlockCache.CachedBlockView
java.lang.Object
org.apache.hadoop.hbase.io.hfile.TinyLfuBlockCache.CachedBlockView
- All Implemented Interfaces:
Comparable<CachedBlock>
,CachedBlock
- Enclosing class:
- TinyLfuBlockCache
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Comparator<CachedBlock>
private final BlockCacheKey
private final long
private final Cacheable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(CachedBlock other) boolean
long
long
long
getSize()
int
hashCode()
toString()
-
Field Details
-
COMPARATOR
-
key
-
value
-
now
-
-
Constructor Details
-
CachedBlockView
-
-
Method Details
-
getBlockPriority
- Specified by:
getBlockPriority
in interfaceCachedBlock
-
getBlockType
- Specified by:
getBlockType
in interfaceCachedBlock
-
getOffset
- Specified by:
getOffset
in interfaceCachedBlock
-
getSize
- Specified by:
getSize
in interfaceCachedBlock
-
getCachedTime
- Specified by:
getCachedTime
in interfaceCachedBlock
-
getFilename
- Specified by:
getFilename
in interfaceCachedBlock
-
compareTo
- Specified by:
compareTo
in interfaceComparable<CachedBlock>
-
equals
-
hashCode
-
toString
-