| Package | Description |
|---|---|
| org.apache.hadoop.fs.impl.prefetch |
block caching for use in object store clients.
|
| Modifier and Type | Method | Description |
|---|---|---|
LocalDirAllocator |
BlockManagerParameters.getLocalDirAllocator() |
| Modifier and Type | Method | Description |
|---|---|---|
protected java.nio.file.Path |
SingleFilePerBlockCache.getCacheFilePath(Configuration conf,
LocalDirAllocator localDirAllocator) |
Return temporary file created based on the file path retrieved from local dir allocator.
|
static boolean |
SingleFilePerBlockCache.isCacheSpaceAvailable(long fileSize,
Configuration conf,
LocalDirAllocator localDirAllocator) |
Determine if the cache space is available on the local FS.
|
void |
BlockCache.put(int blockNumber,
java.nio.ByteBuffer buffer,
Configuration conf,
LocalDirAllocator localDirAllocator) |
Puts the given block in this cache.
|
void |
SingleFilePerBlockCache.put(int blockNumber,
java.nio.ByteBuffer buffer,
Configuration conf,
LocalDirAllocator localDirAllocator) |
Puts the given block in this cache.
|
BlockManagerParameters |
BlockManagerParameters.withLocalDirAllocator(LocalDirAllocator dirAllocator) |
Sets the local dir allocator for round-robin disk allocation
while creating files.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.