Uses of Interface
org.apache.accumulo.core.spi.cache.CacheEntry
-
-
Uses of CacheEntry in org.apache.accumulo.core.file.blockfile.cache.lru
Methods in org.apache.accumulo.core.file.blockfile.cache.lru that return CacheEntry Modifier and Type Method Description CacheEntry
LruBlockCache. cacheBlock(String blockName, byte[] buf)
Cache the block with the specified name and buffer.CacheEntry
LruBlockCache. cacheBlock(String blockName, byte[] buf, boolean inMemory)
Cache the block with the specified name and buffer.CacheEntry
LruBlockCache. getBlock(String blockName)
Get the buffer of the block with the specified name.CacheEntry
SynchronousLoadingBlockCache. getBlock(String blockName, BlockCache.Loader loader)
protected CacheEntry
LruBlockCache. getBlockNoStats(String blockName)
protected abstract CacheEntry
SynchronousLoadingBlockCache. getBlockNoStats(String blockName)
Get a block from the cache without changing any stats the cache is keeping. -
Uses of CacheEntry in org.apache.accumulo.core.file.blockfile.cache.tinylfu
Methods in org.apache.accumulo.core.file.blockfile.cache.tinylfu that return CacheEntry Modifier and Type Method Description CacheEntry
TinyLfuBlockCache. cacheBlock(String blockName, byte[] buffer)
CacheEntry
TinyLfuBlockCache. getBlock(String blockName)
CacheEntry
TinyLfuBlockCache. getBlock(String blockName, BlockCache.Loader loader)
-
Uses of CacheEntry in org.apache.accumulo.core.file.blockfile.impl
Constructors in org.apache.accumulo.core.file.blockfile.impl with parameters of type CacheEntry Constructor Description CachedBlockRead(CacheEntry cb, byte[] buf)
-
Uses of CacheEntry in org.apache.accumulo.core.spi.cache
Methods in org.apache.accumulo.core.spi.cache that return CacheEntry Modifier and Type Method Description CacheEntry
BlockCache. cacheBlock(String blockName, byte[] buf)
Add block to cache.CacheEntry
BlockCache. getBlock(String blockName)
Fetch block from cache.CacheEntry
BlockCache. getBlock(String blockName, BlockCache.Loader loader)
This method allows a cache to prevent concurrent loads of the same block.
-