Modifier and Type | Field and Description |
---|---|
BlockCache |
FileOperations.FileOptions.dataCache |
BlockCache |
FileOperations.FileOptions.indexCache |
Modifier and Type | Method and Description |
---|---|
BlockCache |
FileOperations.FileOptions.getDataCache() |
BlockCache |
FileOperations.FileOptions.getIndexCache() |
Modifier and Type | Method and 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.
|
Constructor and 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) |
Modifier and Type | Class and Description |
---|---|
class |
LruBlockCache
A block cache implementation that is memory-aware using
HeapSize , memory-bound using an
LRU eviction algorithm, and concurrent: backed by a ConcurrentHashMap and with a
non-blocking eviction thread giving constant-time LruBlockCache.cacheBlock(java.lang.String, byte[], boolean) and LruBlockCache.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.
|
Modifier and Type | Method and Description |
---|---|
protected BlockCache |
LruBlockCacheManager.createCache(BlockCacheManager.Configuration conf,
CacheType type) |
Modifier and Type | Class and Description |
---|---|
class |
TinyLfuBlockCache
A block cache that is memory bounded using the W-TinyLFU eviction algorithm.
|
Constructor and Description |
---|
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,
CryptoService cryptoService) |
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,
CryptoService cryptoService) |
Reader(String cacheId,
InputStreamType fsin,
long len,
org.apache.hadoop.conf.Configuration conf,
BlockCache data,
BlockCache index,
AccumuloConfiguration accumuloConfiguration,
CryptoService cryptoService) |
Modifier and Type | Method and Description |
---|---|
protected abstract BlockCache |
BlockCacheManager.createCache(BlockCacheManager.Configuration conf,
CacheType type)
Create a block cache using the supplied configuration
|
BlockCache |
BlockCacheManager.getBlockCache(CacheType type)
Get the block cache of the given type
|
Modifier and Type | Method and Description |
---|---|
static SummaryReader |
SummaryReader.load(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.conf.Configuration conf,
AccumuloConfiguration aConf,
SummarizerFactory factory,
org.apache.hadoop.fs.Path file,
Predicate<SummarizerConfiguration> summarySelector,
BlockCache summaryCache,
BlockCache indexCache,
CryptoService cryptoService) |
Future<SummaryCollection> |
Gatherer.processFiles(Gatherer.FileSystemResolver volMgr,
Map<String,List<TRowRange>> files,
BlockCache summaryCache,
BlockCache indexCache,
ExecutorService srp)
This method will read summaries from a set of files.
|
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.