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.delegateDefined the map asConcurrentHashMapexplicitly 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.writerQueuesA 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 inqthen 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 StringBucketCache.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) voidBucketCache.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 inqthen 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 inqthen tries to grab as many as possible before returning.booleanBucketCache.RAMCache.remove(BlockCacheKey key, Consumer<BucketCache.RAMQueueEntry> action) Defined anConsumerhere, 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)