Uses of Class
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.RAMQueueEntry
Packages that use BucketCache.RAMQueueEntry
-
Uses of BucketCache.RAMQueueEntry in org.apache.hadoop.hbase.io.hfile.bucket
Fields in org.apache.hadoop.hbase.io.hfile.bucket with type parameters of type BucketCache.RAMQueueEntryModifier and TypeFieldDescription(package private) final ConcurrentHashMap<BlockCacheKey,
BucketCache.RAMQueueEntry> BucketCache.RAMCache.delegate
Defined the map asConcurrentHashMap
explicitly here, because inBucketCache.RAMCache.get(BlockCacheKey)
andBucketCache.RAMCache.putIfAbsent(BlockCacheKey, BucketCache.RAMQueueEntry)
, we need to guarantee the atomicity of map#computeIfPresent(key, func) and map#putIfAbsent(key, func).private final BlockingQueue<BucketCache.RAMQueueEntry>
BucketCache.WriterThread.inputQueue
(package private) final ArrayList<BlockingQueue<BucketCache.RAMQueueEntry>>
BucketCache.writerQueues
A list of writer queues.Methods in org.apache.hadoop.hbase.io.hfile.bucket that return BucketCache.RAMQueueEntryModifier and TypeMethodDescriptionBucketCache.RAMCache.get
(BlockCacheKey key) BucketCache.RAMCache.putIfAbsent
(BlockCacheKey key, BucketCache.RAMQueueEntry entry) Return the previous associated value, or null if absent.Methods in org.apache.hadoop.hbase.io.hfile.bucket that return types with arguments of type BucketCache.RAMQueueEntryModifier and TypeMethodDescription(package private) static List<BucketCache.RAMQueueEntry>
BucketCache.getRAMQueueEntries
(BlockingQueue<BucketCache.RAMQueueEntry> q, List<BucketCache.RAMQueueEntry> receptacle) Blocks until elements available inq
then tries to grab as many as possible before returning.Methods in org.apache.hadoop.hbase.io.hfile.bucket with parameters of type BucketCache.RAMQueueEntryModifier and TypeMethodDescriptionprivate static String
BucketCache.getAllocationFailWarningMessage
(BucketAllocatorException fle, BucketCache.RAMQueueEntry re) Prepare and return a warning message for Bucket Allocator ExceptionBucketCache.RAMCache.putIfAbsent
(BlockCacheKey key, BucketCache.RAMQueueEntry entry) Return the previous associated value, or null if absent.Method parameters in org.apache.hadoop.hbase.io.hfile.bucket with type arguments of type BucketCache.RAMQueueEntryModifier and TypeMethodDescription(package private) void
BucketCache.doDrain
(List<BucketCache.RAMQueueEntry> entries, ByteBuffer metaBuff) Flush the entries in ramCache to IOEngine and add bucket entry to backingMap.(package private) static List<BucketCache.RAMQueueEntry>
BucketCache.getRAMQueueEntries
(BlockingQueue<BucketCache.RAMQueueEntry> q, List<BucketCache.RAMQueueEntry> receptacle) Blocks until elements available inq
then tries to grab as many as possible before returning.(package private) static List<BucketCache.RAMQueueEntry>
BucketCache.getRAMQueueEntries
(BlockingQueue<BucketCache.RAMQueueEntry> q, List<BucketCache.RAMQueueEntry> receptacle) Blocks until elements available inq
then tries to grab as many as possible before returning.boolean
BucketCache.RAMCache.remove
(BlockCacheKey key, Consumer<BucketCache.RAMQueueEntry> action) Defined anConsumer
here, because once the removed entry release its reference count, then it's ByteBuffers may be recycled and accessing it outside this method will be thrown an exception.Constructor parameters in org.apache.hadoop.hbase.io.hfile.bucket with type arguments of type BucketCache.RAMQueueEntryModifierConstructorDescription(package private)