public interface CacheKey
Modifier and Type | Interface 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 |
forPageIndex(RandomAccessFile file,
int pageSize,
int pageIndex) |
static CacheKey |
forPosition(RandomAccessFile file,
long position,
int length) |
static CacheKey forPosition(RandomAccessFile file, long position, int length)
static CacheKey forPageIndex(RandomAccessFile file, int pageSize, int pageIndex)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.