| Package | Description |
|---|---|
| org.apache.hadoop.fs.impl.prefetch |
block caching for use in object store clients.
|
| Modifier and Type | Method | Description |
|---|---|---|
BufferData |
BufferPool.acquire(int blockNumber) |
Acquires a
ByteBuffer; blocking if necessary until one becomes available. |
BufferData |
FilePosition.data() |
|
BufferData |
BlockManager.get(int blockNumber) |
Gets the block having the given
blockNumber. |
BufferData |
CachingBlockManager.get(int blockNumber) |
Gets the block having the given
blockNumber. |
BufferData |
BufferPool.tryAcquire(int blockNumber) |
Acquires a buffer if one is immediately available.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<BufferData> |
BufferPool.getAll() |
Gets a list of all blocks in this pool.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BlockManager.release(BufferData data) |
Releases resources allocated to the given block.
|
void |
BufferPool.release(BufferData data) |
Releases a previously acquired resource.
|
void |
CachingBlockManager.release(BufferData data) |
Releases resources allocated to the given block.
|
void |
BlockManager.requestCaching(BufferData data) |
Requests that the given block should be copied to the cache.
|
void |
CachingBlockManager.requestCaching(BufferData data) |
Requests that the given block should be copied to the local cache.
|
void |
FilePosition.setData(BufferData bufferData,
long startOffset,
long readOffset) |
Associates a buffer with this file.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.