| Package | Description |
|---|---|
| org.apache.hadoop.fs.impl.prefetch |
block caching for use in object store clients.
|
| Modifier and Type | Method | Description |
|---|---|---|
BlockManagerParameters |
BlockManagerParameters.withBlockData(BlockData data) |
Sets the object holding blocks data info for the underlying file.
|
BlockManagerParameters |
BlockManagerParameters.withBufferPoolSize(int poolSize) |
Sets the in-memory cache size as number of blocks.
|
BlockManagerParameters |
BlockManagerParameters.withConf(Configuration configuration) |
Sets the configuration object.
|
BlockManagerParameters |
BlockManagerParameters.withFuturePool(ExecutorServiceFuturePool pool) |
Sets the executor service future pool that is later used to perform
async prefetch tasks.
|
BlockManagerParameters |
BlockManagerParameters.withLocalDirAllocator(LocalDirAllocator dirAllocator) |
Sets the local dir allocator for round-robin disk allocation
while creating files.
|
BlockManagerParameters |
BlockManagerParameters.withMaxBlocksCount(int blocksCount) |
Sets the max blocks count to be kept in cache at any time.
|
BlockManagerParameters |
BlockManagerParameters.withPrefetchingStatistics(PrefetchingStatistics statistics) |
Sets the prefetching statistics for the stream.
|
BlockManagerParameters |
BlockManagerParameters.withTrackerFactory(DurationTrackerFactory factory) |
Sets the duration tracker with statistics to update.
|
| Constructor | Description |
|---|---|
CachingBlockManager(BlockManagerParameters blockManagerParameters) |
Constructs an instance of a
CachingBlockManager. |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.