Class BucketCache.RAMQueueEntry
java.lang.Object
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.RAMQueueEntry
- Enclosing class:
- BucketCache
Block Entry stored in the memory with key,data and so on
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate longprivate final Cacheableprivate booleanprivate booleanprivate final BlockCacheKey
- 
Constructor SummaryConstructorsConstructorDescriptionRAMQueueEntry(BlockCacheKey bck, Cacheable data, long accessCounter, boolean inMemory, boolean isCachePersistent) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidaccess(long accessCounter) private ByteBuffAllocatorgetData()getKey()writeToCache(IOEngine ioEngine, BucketAllocator alloc, LongAdder realCacheSize, Function<BucketEntry, ByteBuffAllocator.Recycler> createRecycler, ByteBuffer metaBuff) 
- 
Field Details- 
key
- 
data
- 
accessCounter
- 
inMemory
- 
isCachePersistent
 
- 
- 
Constructor Details- 
RAMQueueEntryRAMQueueEntry(BlockCacheKey bck, Cacheable data, long accessCounter, boolean inMemory, boolean isCachePersistent) 
 
- 
- 
Method Details- 
getData
- 
getKey
- 
access
- 
getByteBuffAllocator
- 
writeToCachepublic BucketEntry writeToCache(IOEngine ioEngine, BucketAllocator alloc, LongAdder realCacheSize, Function<BucketEntry, ByteBuffAllocator.Recycler> createRecycler, ByteBuffer metaBuff) throws IOException- Throws:
- IOException
 
 
-