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
FieldsModifier and TypeFieldDescriptionprivate static final Comparator<CachedBlock>private final BlockCacheKeyprivate final longprivate final Cacheable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(CachedBlock other) booleanlonglonglonggetSize()inthashCode()toString()
-
Field Details
-
COMPARATOR
-
key
-
value
-
now
-
-
Constructor Details
-
CachedBlockView
-
-
Method Details
-
getBlockPriority
- Specified by:
getBlockPriorityin interfaceCachedBlock
-
getBlockType
- Specified by:
getBlockTypein interfaceCachedBlock
-
getOffset
- Specified by:
getOffsetin interfaceCachedBlock
-
getSize
- Specified by:
getSizein interfaceCachedBlock
-
getCachedTime
- Specified by:
getCachedTimein interfaceCachedBlock
-
getFilename
- Specified by:
getFilenamein interfaceCachedBlock
-
compareTo
- Specified by:
compareToin interfaceComparable<CachedBlock>
-
equals
-
hashCode
-
toString
-