Uses of Interface
org.apache.accumulo.core.spi.cache.BlockCache
-
-
Uses of BlockCache in org.apache.accumulo.core.file.blockfile.cache.lru
Classes in org.apache.accumulo.core.file.blockfile.cache.lru that implement BlockCache Modifier and Type Class Description class
LruBlockCache
A block cache implementation that is memory-aware usingHeapSize
, memory-bound using an LRU eviction algorithm, and concurrent: backed by aConcurrentHashMap
and with a non-blocking eviction thread giving constant-timeLruBlockCache.cacheBlock(java.lang.String, byte[], boolean)
andLruBlockCache.getBlock(java.lang.String)
operations.class
SynchronousLoadingBlockCache
This class implements loading in such a way that load operations for the same block will not run concurrently.Methods in org.apache.accumulo.core.file.blockfile.cache.lru that return BlockCache Modifier and Type Method Description protected BlockCache
LruBlockCacheManager. createCache(BlockCacheManager.Configuration conf, CacheType type)
-
Uses of BlockCache in org.apache.accumulo.core.file.blockfile.cache.tinylfu
Classes in org.apache.accumulo.core.file.blockfile.cache.tinylfu that implement BlockCache Modifier and Type Class Description class
TinyLfuBlockCache
A block cache that is memory bounded using the W-TinyLFU eviction algorithm. -
Uses of BlockCache in org.apache.accumulo.core.file.blockfile.impl
Classes in org.apache.accumulo.core.file.blockfile.impl that implement BlockCache Modifier and Type Class Description class
OpportunisticBlockCache
Methods in org.apache.accumulo.core.file.blockfile.impl that return BlockCache Modifier and Type Method Description BlockCache
BasicCacheProvider. getDataCache()
BlockCache
CacheProvider. getDataCache()
BlockCache
ScanCacheProvider. getDataCache()
BlockCache
BasicCacheProvider. getIndexCache()
BlockCache
CacheProvider. getIndexCache()
BlockCache
ScanCacheProvider. getIndexCache()
Constructors in org.apache.accumulo.core.file.blockfile.impl with parameters of type BlockCache Constructor Description BasicCacheProvider(BlockCache indexCache, BlockCache dataCache)
OpportunisticBlockCache(BlockCache cache)
ScanCacheProvider(AccumuloConfiguration tableConfig, ScanDispatch dispatch, BlockCache indexCache, BlockCache dataCache)
-
Uses of BlockCache in org.apache.accumulo.core.spi.cache
Methods in org.apache.accumulo.core.spi.cache that return BlockCache Modifier and Type Method Description protected abstract BlockCache
BlockCacheManager. createCache(BlockCacheManager.Configuration conf, CacheType type)
Create a block cache using the supplied configurationBlockCache
BlockCacheManager. getBlockCache(CacheType type)
Get the block cache of the given type -
Uses of BlockCache in org.apache.accumulo.core.summary
Methods in org.apache.accumulo.core.summary with parameters of type BlockCache Modifier and Type Method Description static SummaryReader
SummaryReader. load(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration conf, SummarizerFactory factory, org.apache.hadoop.fs.Path file, Predicate<SummarizerConfiguration> summarySelector, BlockCache summaryCache, BlockCache indexCache, com.google.common.cache.Cache<String,Long> fileLenCache, CryptoService cryptoService)
Future<SummaryCollection>
Gatherer. processFiles(Gatherer.FileSystemResolver volMgr, Map<String,List<TRowRange>> files, BlockCache summaryCache, BlockCache indexCache, com.google.common.cache.Cache<String,Long> fileLenCache, ExecutorService srp)
This method will read summaries from a set of files.
-