Package | Description |
---|---|
org.apache.paimon.io.cache |
Modifier and Type | Class and Description |
---|---|
static class |
CacheKey.PageIndexCacheKey
Key for file page index.
|
static class |
CacheKey.PositionCacheKey
Key for file position and length.
|
Modifier and Type | Method and Description |
---|---|
static CacheKey |
CacheKey.forPageIndex(RandomAccessFile file,
int pageSize,
int pageIndex) |
static CacheKey |
CacheKey.forPosition(RandomAccessFile file,
long position,
int length,
boolean isIndex) |
Modifier and Type | Method and Description |
---|---|
Map<CacheKey,Cache.CacheValue> |
Cache.asMap() |
Map<CacheKey,Cache.CacheValue> |
GuavaCache.asMap() |
Map<CacheKey,Cache.CacheValue> |
CaffeineCache.asMap() |
Modifier and Type | Method and Description |
---|---|
Cache.CacheValue |
Cache.get(CacheKey key,
java.util.function.Function<CacheKey,Cache.CacheValue> supplier) |
Cache.CacheValue |
GuavaCache.get(CacheKey key,
java.util.function.Function<CacheKey,Cache.CacheValue> supplier) |
Cache.CacheValue |
CaffeineCache.get(CacheKey key,
java.util.function.Function<CacheKey,Cache.CacheValue> supplier) |
MemorySegment |
CacheManager.getPage(CacheKey key,
CacheReader reader,
CacheCallback callback) |
void |
Cache.invalidate(CacheKey key) |
void |
GuavaCache.invalidate(CacheKey key) |
void |
CaffeineCache.invalidate(CacheKey key) |
void |
CacheManager.invalidPage(CacheKey key) |
void |
CacheCallback.onRemoval(CacheKey key) |
void |
Cache.put(CacheKey key,
Cache.CacheValue value) |
void |
GuavaCache.put(CacheKey key,
Cache.CacheValue value) |
void |
CaffeineCache.put(CacheKey key,
Cache.CacheValue value) |
byte[] |
CacheReader.read(CacheKey key) |
Modifier and Type | Method and Description |
---|---|
Cache.CacheValue |
Cache.get(CacheKey key,
java.util.function.Function<CacheKey,Cache.CacheValue> supplier) |
Cache.CacheValue |
GuavaCache.get(CacheKey key,
java.util.function.Function<CacheKey,Cache.CacheValue> supplier) |
Cache.CacheValue |
CaffeineCache.get(CacheKey key,
java.util.function.Function<CacheKey,Cache.CacheValue> supplier) |
Constructor and Description |
---|
CaffeineCache(org.apache.paimon.shade.caffeine2.com.github.benmanes.caffeine.cache.Cache<CacheKey,Cache.CacheValue> cache) |
GuavaCache(org.apache.paimon.shade.guava30.com.google.common.cache.Cache<CacheKey,Cache.CacheValue> cache) |
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.