public class BlockCache extends Object implements Closeable
| Constructor and Description |
|---|
BlockCache(RandomAccessFile file,
CacheManager cacheManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
MemorySegment |
getBlock(long position,
int length,
java.util.function.Function<byte[],byte[]> decompressFunc,
boolean isIndex) |
public BlockCache(RandomAccessFile file, CacheManager cacheManager)
public MemorySegment getBlock(long position, int length, java.util.function.Function<byte[],byte[]> decompressFunc, boolean isIndex)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.