public class BlockIndex extends Object implements CacheEntry.Weighable
Modifier and Type | Class and Description |
---|---|
static class |
BlockIndex.BlockIndexEntry |
Constructor and Description |
---|
BlockIndex() |
Modifier and Type | Method and Description |
---|---|
static BlockIndex |
getIndex(CachableBlockFile.CachedBlockRead cacheBlock,
MultiLevelIndex.IndexEntry indexEntry) |
BlockIndex.BlockIndexEntry |
seekBlock(Key startKey,
CachableBlockFile.CachedBlockRead cacheBlock) |
int |
weight() |
public static BlockIndex getIndex(CachableBlockFile.CachedBlockRead cacheBlock, MultiLevelIndex.IndexEntry indexEntry) throws IOException
IOException
public BlockIndex.BlockIndexEntry seekBlock(Key startKey, CachableBlockFile.CachedBlockRead cacheBlock)
public int weight()
weight
in interface CacheEntry.Weighable
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.