|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BlockCacheKey | |
---|---|
org.apache.hadoop.hbase.io.hfile | Provides the hbase data+index+metadata file. |
org.apache.hadoop.hbase.io.hfile.slab |
Uses of BlockCacheKey in org.apache.hadoop.hbase.io.hfile |
---|
Methods in org.apache.hadoop.hbase.io.hfile that return BlockCacheKey | |
---|---|
BlockCacheKey |
CachedBlock.getCacheKey()
|
Methods in org.apache.hadoop.hbase.io.hfile with parameters of type BlockCacheKey | |
---|---|
void |
DoubleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
|
void |
BlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
Add block to cache (defaults to not in-memory). |
void |
SimpleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable block)
|
void |
LruBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
Cache the block with the specified name and buffer. |
void |
DoubleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
|
void |
BlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
Add block to cache. |
void |
SimpleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable block,
boolean inMemory)
|
void |
LruBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
Cache the block with the specified name and buffer. |
boolean |
DoubleBlockCache.evictBlock(BlockCacheKey cacheKey)
|
boolean |
BlockCache.evictBlock(BlockCacheKey cacheKey)
Evict block from cache. |
boolean |
SimpleBlockCache.evictBlock(BlockCacheKey cacheKey)
|
boolean |
LruBlockCache.evictBlock(BlockCacheKey cacheKey)
|
Cacheable |
DoubleBlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat)
|
Cacheable |
BlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat)
Fetch block from cache. |
Cacheable |
SimpleBlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat)
|
Cacheable |
LruBlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat)
Get the buffer of the block with the specified name. |
Constructors in org.apache.hadoop.hbase.io.hfile with parameters of type BlockCacheKey | |
---|---|
CachedBlock(BlockCacheKey cacheKey,
Cacheable buf,
long accessTime)
|
|
CachedBlock(BlockCacheKey cacheKey,
Cacheable buf,
long accessTime,
boolean inMemory)
|
Uses of BlockCacheKey in org.apache.hadoop.hbase.io.hfile.slab |
---|
Methods in org.apache.hadoop.hbase.io.hfile.slab with parameters of type BlockCacheKey | |
---|---|
void |
SingleSizeCache.cacheBlock(BlockCacheKey blockName,
Cacheable toBeCached)
|
void |
SlabCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable cachedItem)
Cache the block with the specified key and buffer. |
void |
SingleSizeCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
|
void |
SlabCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
We don't care about whether its in memory or not, so we just pass the call through. |
boolean |
SingleSizeCache.evictBlock(BlockCacheKey key)
Evicts the block |
boolean |
SlabCache.evictBlock(BlockCacheKey cacheKey)
Evicts a block from the cache. |
Cacheable |
SingleSizeCache.getBlock(BlockCacheKey key,
boolean caching,
boolean repeat)
|
Cacheable |
SlabCache.getBlock(BlockCacheKey key,
boolean caching,
boolean repeat)
Get the buffer of the block with the specified name. |
void |
SlabCache.onEviction(BlockCacheKey key,
SingleSizeCache notifier)
|
void |
SlabCache.onInsertion(BlockCacheKey key,
SingleSizeCache notifier)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |