Uses of Class
org.apache.hadoop.fs.impl.prefetch.BlockManagerParameters
Packages that use BlockManagerParameters
Package
Description
block caching for use in object store clients.
-
Uses of BlockManagerParameters in org.apache.hadoop.fs.impl.prefetch
Methods in org.apache.hadoop.fs.impl.prefetch that return BlockManagerParametersModifier and TypeMethodDescriptionBlockManagerParameters.withBlockData(BlockData data) Sets the object holding blocks data info for the underlying file.BlockManagerParameters.withBufferPoolSize(int poolSize) Sets the in-memory cache size as number of blocks.BlockManagerParameters.withConf(Configuration configuration) Sets the configuration object.BlockManagerParameters.withFuturePool(ExecutorServiceFuturePool pool) Sets the executor service future pool that is later used to perform async prefetch tasks.BlockManagerParameters.withLocalDirAllocator(LocalDirAllocator dirAllocator) Sets the local dir allocator for round-robin disk allocation while creating files.BlockManagerParameters.withMaxBlocksCount(int blocksCount) Sets the max blocks count to be kept in cache at any time.BlockManagerParameters.withPrefetchingStatistics(PrefetchingStatistics statistics) Sets the prefetching statistics for the stream.BlockManagerParameters.withTrackerFactory(DurationTrackerFactory factory) Sets the duration tracker with statistics to update.Constructors in org.apache.hadoop.fs.impl.prefetch with parameters of type BlockManagerParametersModifierConstructorDescriptionCachingBlockManager(BlockManagerParameters blockManagerParameters) Constructs an instance of aCachingBlockManager.