You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2022/04/28 15:13:04 UTC

[hbase] branch branch-2.4 updated: HBASE-26980 Update javadoc of BucketCache.java (#4374)

This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2.4 by this push:
     new 95f9792c3a6 HBASE-26980 Update javadoc of BucketCache.java (#4374)
95f9792c3a6 is described below

commit 95f9792c3a600fc75e79b12c106100baf67c4bd3
Author: liangxs <li...@gmail.com>
AuthorDate: Thu Apr 28 23:08:40 2022 +0800

    HBASE-26980 Update javadoc of BucketCache.java (#4374)
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
    (cherry picked from commit c02e7553d46ddfb3b0911240f6edd4b900b869b6)
---
 .../java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java    | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java
index 968a6d4ae64..3e36c5401d6 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java
@@ -88,8 +88,9 @@ import org.apache.hadoop.hbase.shaded.protobuf.generated.BucketCacheProtos;
 /**
  * BucketCache uses {@link BucketAllocator} to allocate/free blocks, and uses
  * BucketCache#ramCache and BucketCache#backingMap in order to
- * determine if a given element is in the cache. The bucket cache can use on-heap or
- * off-heap memory {@link ByteBufferIOEngine} or in a file {@link FileIOEngine} to
+ * determine if a given element is in the cache. The bucket cache can use
+ * off-heap memory {@link ByteBufferIOEngine} or mmap {@link ExclusiveMemoryMmapIOEngine}
+ * or pmem {@link SharedMemoryMmapIOEngine} or local files {@link FileIOEngine} to
  * store/read the block data.
  *
  * <p>Eviction is via a similar algorithm as used in