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 BlockCache
FileOperations.FileOptions. dataCache
BlockCache
FileOperations.FileOptions. indexCache
Methods in org.apache.accumulo.core.file that return BlockCache Modifier and Type Method Description BlockCache
FileOperations.FileOptions. getDataCache()
BlockCache
FileOperations.FileOptions. getIndexCache()
Methods in org.apache.accumulo.core.file with parameters of type BlockCache Modifier and Type Method Description protected FileOperations.FileOptions
FileOperations.FileHelper. toReaderBuilderOptions(BlockCache dataCache, BlockCache indexCache, com.google.common.cache.Cache<String,Long> fileLenCache, boolean seekToBeginning)
FileOperations.ReaderBuilder
FileOperations.ReaderBuilder. withBlockCache(BlockCache dataCache, BlockCache indexCache)
(Optional) Set the block cache pair to be used to optimize reads within the constructed reader.FileOperations.ReaderBuilder
FileOperations.ReaderBuilder. withDataCache(BlockCache dataCache)
(Optional) set the data cache to be used to optimize reads within the constructed reader.FileOperations.ReaderBuilder
FileOperations.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 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
Methods in org.apache.accumulo.core.file.blockfile.impl with parameters of type BlockCache Modifier and Type Method Description CachableBlockFile.CachableBuilder
CachableBlockFile.CachableBuilder. data(BlockCache dCache)
CachableBlockFile.CachableBuilder
CachableBlockFile.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 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.
-