HBASE-26980 Update javadoc of BucketCache.java (#4374)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit c02e7553d4)
This commit is contained in:
liangxs 2022-04-28 23:08:40 +08:00 committed by Duo Zhang
parent 4b2ac4b38e
commit abedac5a2d
1 changed files with 3 additions and 2 deletions

View File

@ -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