Uses of Interface
org.apache.accumulo.core.file.blockfile.cache.BlockCache
-
Packages that use BlockCache Package Description org.apache.accumulo.core.file org.apache.accumulo.core.file.blockfile.cache org.apache.accumulo.core.file.blockfile.impl -
-
Uses of BlockCache in org.apache.accumulo.core.file
Methods in org.apache.accumulo.core.file that return BlockCache Modifier and Type Method Description BlockCache
FileOperations.FileReaderOperation. getDataCache()
BlockCache
FileOperations.FileReaderOperation. getIndexCache()
Methods in org.apache.accumulo.core.file with parameters of type BlockCache Modifier and Type Method Description SubclassType
FileOperations.FileReaderOperation. withBlockCache(BlockCache dataCache, BlockCache indexCache)
(Optional) Set the block cache pair to be used to optimize reads within the constructed reader.SubbuilderType
FileOperations.FileReaderOperationBuilder. withBlockCache(BlockCache dataCache, BlockCache indexCache)
(Optional) Set the block cache pair to be used to optimize reads within the constructed reader.SubclassType
FileOperations.FileReaderOperation. withDataCache(BlockCache dataCache)
(Optional) set the data cache to be used to optimize reads within the constructed reader.SubbuilderType
FileOperations.FileReaderOperationBuilder. withDataCache(BlockCache dataCache)
(Optional) set the data cache to be used to optimize reads within the constructed reader.SubclassType
FileOperations.FileReaderOperation. withIndexCache(BlockCache indexCache)
(Optional) set the index cache to be used to optimize reads within the constructed reader.SubbuilderType
FileOperations.FileReaderOperationBuilder. withIndexCache(BlockCache indexCache)
(Optional) set the index cache to be used to optimize reads within the constructed reader. -
Uses of BlockCache in org.apache.accumulo.core.file.blockfile.cache
Classes in org.apache.accumulo.core.file.blockfile.cache 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. -
Uses of BlockCache in org.apache.accumulo.core.file.blockfile.impl
Constructors in org.apache.accumulo.core.file.blockfile.impl with parameters of type BlockCache Constructor Description Reader(String cacheId, InputStreamType fsin, long len, org.apache.hadoop.conf.Configuration conf, BlockCache data, BlockCache index, AccumuloConfiguration accumuloConfiguration)
Reader(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dataFile, org.apache.hadoop.conf.Configuration conf, com.google.common.cache.Cache<String,Long> fileLenCache, BlockCache data, BlockCache index, RateLimiter readLimiter, AccumuloConfiguration accumuloConfiguration)
Reader(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path dataFile, org.apache.hadoop.conf.Configuration conf, BlockCache data, BlockCache index, AccumuloConfiguration accumuloConfiguration)
-