| 程序包 | 说明 |
|---|---|
| org.apache.paimon.io.cache |
| 限定符和类型 | 类和说明 |
|---|---|
static class |
CacheKey.PageIndexCacheKey
Key for file page index.
|
static class |
CacheKey.PositionCacheKey
Key for file position and length.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CacheKey |
CacheKey.forPageIndex(RandomAccessFile file,
int pageSize,
int pageIndex) |
static CacheKey |
CacheKey.forPosition(RandomAccessFile file,
long position,
int length) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.paimon.shade.caffeine2.com.github.benmanes.caffeine.cache.Cache<CacheKey,?> |
CacheManager.cache() |
| 限定符和类型 | 方法和说明 |
|---|---|
MemorySegment |
CacheManager.getPage(CacheKey key,
CacheReader reader,
CacheCallback callback) |
void |
CacheManager.invalidPage(CacheKey key) |
void |
CacheCallback.onRemoval(CacheKey key) |
byte[] |
CacheReader.read(CacheKey key) |
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.