Package | Description |
---|---|
org.apache.accumulo.core.file | |
org.apache.accumulo.core.file.blockfile.cache | |
org.apache.accumulo.core.file.blockfile.impl |
Modifier and Type | Method and Description |
---|---|
BlockCache |
FileOperations.FileReaderOperation.getDataCache() |
BlockCache |
FileOperations.FileReaderOperation.getIndexCache() |
Modifier and Type | Method and 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.
|
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. |
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) |
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(String cacheId,
InputStreamType fsin,
long len,
org.apache.hadoop.conf.Configuration conf,
BlockCache data,
BlockCache index,
AccumuloConfiguration accumuloConfiguration) |
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.