Apache9 commented on a change in pull request #331: HBASE-22612 Address the
final overview reviewing comments of HBASE-21879
URL: https://github.com/apache/hbase/pull/331#discussion_r296567937
##########
File path:
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java
##########
@@ -1526,7 +1526,16 @@ float getMemoryFactor() {
* Wrapped the delegate ConcurrentMap with maintaining its block's reference
count.
*/
static class RAMCache {
- final ConcurrentMap<BlockCacheKey, RAMQueueEntry> delegate = new
ConcurrentHashMap<>();
+ /**
+ * Defined the map as {@link ConcurrentHashMap} explicitly here, because in
Review comment:
Good.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services