|
||||||||||
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.bucket | |
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 |
LruCachedBlock.getCacheKey()
|
Methods in org.apache.hadoop.hbase.io.hfile with parameters of type BlockCacheKey | |
---|---|
void |
BlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
Add block to cache (defaults to not in-memory). |
void |
LruBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
Cache the block with the specified name and buffer. |
void |
DoubleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
Deprecated. |
void |
CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
|
void |
BlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
Add block to cache. |
void |
LruBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
Cache the block with the specified name and buffer. |
void |
DoubleBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
Deprecated. |
void |
CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
|
boolean |
LruBlockCache.containsBlock(BlockCacheKey cacheKey)
Whether the cache contains block with specified cacheKey |
boolean |
BlockCache.evictBlock(BlockCacheKey cacheKey)
Evict block from cache. |
boolean |
LruBlockCache.evictBlock(BlockCacheKey cacheKey)
|
boolean |
DoubleBlockCache.evictBlock(BlockCacheKey cacheKey)
Deprecated. |
boolean |
CombinedBlockCache.evictBlock(BlockCacheKey cacheKey)
|
Cacheable |
BlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat,
boolean updateCacheMetrics)
Fetch block from cache. |
Cacheable |
LruBlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat,
boolean updateCacheMetrics)
Get the buffer of the block with the specified name. |
Cacheable |
DoubleBlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat,
boolean updateCacheMetrics)
Deprecated. |
Cacheable |
CombinedBlockCache.getBlock(BlockCacheKey cacheKey,
boolean caching,
boolean repeat,
boolean updateCacheMetrics)
|
Constructors in org.apache.hadoop.hbase.io.hfile with parameters of type BlockCacheKey | |
---|---|
LruCachedBlock(BlockCacheKey cacheKey,
Cacheable buf,
long accessTime)
|
|
LruCachedBlock(BlockCacheKey cacheKey,
Cacheable buf,
long accessTime,
boolean inMemory)
|
Uses of BlockCacheKey in org.apache.hadoop.hbase.io.hfile.bucket |
---|
Methods in org.apache.hadoop.hbase.io.hfile.bucket that return types with arguments of type BlockCacheKey | |
---|---|
Map.Entry<BlockCacheKey,org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntry> |
CachedEntryQueue.poll()
|
Map.Entry<BlockCacheKey,org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntry> |
CachedEntryQueue.pollLast()
|
Methods in org.apache.hadoop.hbase.io.hfile.bucket with parameters of type BlockCacheKey | |
---|---|
void |
BucketCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf)
Cache the block with the specified name and buffer. |
void |
BucketCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable cachedItem,
boolean inMemory)
Cache the block with the specified name and buffer. |
void |
BucketCache.cacheBlockWithWait(BlockCacheKey cacheKey,
Cacheable cachedItem,
boolean inMemory,
boolean wait)
Cache the block to ramCache |
boolean |
BucketCache.evictBlock(BlockCacheKey cacheKey)
|
Cacheable |
BucketCache.getBlock(BlockCacheKey key,
boolean caching,
boolean repeat,
boolean updateCacheMetrics)
Get the buffer of the block with the specified key. |
Method parameters in org.apache.hadoop.hbase.io.hfile.bucket with type arguments of type BlockCacheKey | |
---|---|
void |
CachedEntryQueue.add(Map.Entry<BlockCacheKey,org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntry> entry)
Attempt to add the specified entry to this queue. |
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 |
SlabCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable cachedItem)
Deprecated. Cache the block with the specified key and buffer. |
void |
SingleSizeCache.cacheBlock(BlockCacheKey blockName,
Cacheable toBeCached)
Deprecated. |
void |
SlabCache.cacheBlock(BlockCacheKey cacheKey,
Cacheable buf,
boolean inMemory)
Deprecated. 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)
Deprecated. |
boolean |
SlabCache.evictBlock(BlockCacheKey cacheKey)
Deprecated. Evicts a block from the cache. |
boolean |
SingleSizeCache.evictBlock(BlockCacheKey key)
Deprecated. Evicts the block |
Cacheable |
SlabCache.getBlock(BlockCacheKey key,
boolean caching,
boolean repeat,
boolean updateCacheMetrics)
Deprecated. Get the buffer of the block with the specified name. |
Cacheable |
SingleSizeCache.getBlock(BlockCacheKey key,
boolean caching,
boolean repeat,
boolean updateCacheMetrics)
Deprecated. |
void |
SlabCache.onEviction(BlockCacheKey key,
SingleSizeCache notifier)
Deprecated. |
void |
SlabCache.onInsertion(BlockCacheKey key,
SingleSizeCache notifier)
Deprecated. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |