Uses of Interface
org.apache.accumulo.core.spi.cache.BlockCache
-
-
Uses of BlockCache in org.apache.accumulo.core.file
Fields in org.apache.accumulo.core.file declared as BlockCache Modifier and Type Field Description BlockCacheFileOperations.FileOptions. dataCacheBlockCacheFileOperations.FileOptions. indexCacheMethods in org.apache.accumulo.core.file that return BlockCache Modifier and Type Method Description BlockCacheFileOperations.FileOptions. getDataCache()BlockCacheFileOperations.FileOptions. getIndexCache()Methods in org.apache.accumulo.core.file with parameters of type BlockCache Modifier and Type Method Description protected FileOperations.FileOptionsFileOperations.FileHelper. toReaderBuilderOptions(BlockCache dataCache, BlockCache indexCache, com.google.common.cache.Cache<String,Long> fileLenCache, boolean seekToBeginning)FileOperations.ReaderBuilderFileOperations.ReaderBuilder. withBlockCache(BlockCache dataCache, BlockCache indexCache)(Optional) Set the block cache pair to be used to optimize reads within the constructed reader.FileOperations.ReaderBuilderFileOperations.ReaderBuilder. withDataCache(BlockCache dataCache)(Optional) set the data cache to be used to optimize reads within the constructed reader.FileOperations.ReaderBuilderFileOperations.ReaderBuilder. withIndexCache(BlockCache indexCache)(Optional) set the index cache to be used to optimize reads within the constructed reader.Constructors in org.apache.accumulo.core.file with parameters of type BlockCache Constructor Description FileOptions(AccumuloConfiguration tableConfiguration, String filename, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.conf.Configuration fsConf, RateLimiter rateLimiter, String compression, org.apache.hadoop.fs.FSDataOutputStream outputStream, boolean enableAccumuloStart, BlockCache dataCache, BlockCache indexCache, com.google.common.cache.Cache<String,Long> fileLenCache, boolean seekToBeginning, CryptoService cryptoService, Range range, Set<ByteSequence> columnFamilies, boolean inclusive) -
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 classLruBlockCacheA block cache implementation that is memory-aware usingHeapSize, memory-bound using an LRU eviction algorithm, and concurrent: backed by aConcurrentHashMapand with a non-blocking eviction thread giving constant-timeLruBlockCache.cacheBlock(java.lang.String, byte[], boolean)andLruBlockCache.getBlock(java.lang.String)operations.classSynchronousLoadingBlockCacheThis 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 BlockCacheLruBlockCacheManager. 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 classTinyLfuBlockCacheA block cache that is memory bounded using the W-TinyLFU eviction algorithm. -
Uses of BlockCache in org.apache.accumulo.core.file.blockfile.impl
Methods in org.apache.accumulo.core.file.blockfile.impl with parameters of type BlockCache Modifier and Type Method Description CachableBlockFile.CachableBuilderCachableBlockFile.CachableBuilder. data(BlockCache dCache)CachableBlockFile.CachableBuilderCachableBlockFile.CachableBuilder. index(BlockCache iCache) -
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 BlockCacheBlockCacheManager. createCache(BlockCacheManager.Configuration conf, CacheType type)Create a block cache using the supplied configurationBlockCacheBlockCacheManager. 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 SummaryReaderSummaryReader. 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.
-