Package | Description |
---|---|
org.apache.hadoop.hbase.io.hfile |
Provides the hbase data+index+metadata file.
|
org.apache.hadoop.hbase.io.hfile.slab |
Modifier and Type | Method and Description |
---|---|
BlockCacheKey |
CachedBlock.getCacheKey() |
Modifier and Type | Method and Description |
---|---|
void |
SimpleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable block) |
void |
BlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
Add block to cache (defaults to not in-memory).
|
void |
DoubleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf) |
void |
LruBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
Cache the block with the specified name and buffer.
|
void |
SimpleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable block,
boolean inMemory) |
void |
BlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
Add block to cache.
|
void |
DoubleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory) |
void |
LruBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
Cache the block with the specified name and buffer.
|
boolean |
SimpleBlockCache.evictBlock(BlockCacheKey cacheKey) |
boolean |
BlockCache.evictBlock(BlockCacheKey cacheKey)
Evict block from cache.
|
boolean |
DoubleBlockCache.evictBlock(BlockCacheKey cacheKey) |
boolean |
LruBlockCache.evictBlock(BlockCacheKey cacheKey) |
Cacheable |
SimpleBlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat) |
Cacheable |
BlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat)
Fetch block from cache.
|
Cacheable |
DoubleBlockCache.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.
|
Constructor and Description |
---|
CachedBlock(BlockCacheKey cacheKey,
Cacheable buf,
long accessTime) |
CachedBlock(BlockCacheKey cacheKey,
Cacheable buf,
long accessTime,
boolean inMemory) |
Modifier and Type | Method and Description |
---|---|
void |
SlabCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable cachedItem)
Cache the block with the specified key and buffer.
|
void |
SingleSizeCache.cacheBlock(BlockCacheKey blockName,
Cacheable toBeCached) |
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.
|
void |
SingleSizeCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory) |
boolean |
SlabCache.evictBlock(BlockCacheKey cacheKey)
Evicts a block from the cache.
|
boolean |
SingleSizeCache.evictBlock(BlockCacheKey key)
Evicts the block
|
Cacheable |
SlabCache.getBlock(BlockCacheKey key,
boolean caching,
boolean repeat)
Get the buffer of the block with the specified name.
|
Cacheable |
SingleSizeCache.getBlock(BlockCacheKey key,
boolean caching,
boolean repeat) |
void |
SlabCache.onEviction(BlockCacheKey key,
SingleSizeCache notifier) |
void |
SlabCache.onInsertion(BlockCacheKey key,
SingleSizeCache notifier) |
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.