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

Signed-off-by: Duo Zhang <zhangduo@apache.org>
This commit is contained in:
liangxs 2022-04-28 23:08:40 +08:00 committed by GitHub
parent bf93df0870
commit c02e7553d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -90,8 +90,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