| Package | Description |
|---|---|
| org.apache.hadoop.fs.impl.prefetch |
block caching for use in object store clients.
|
| Modifier and Type | Method and Description |
|---|---|
BufferData.State |
BufferData.getState()
Gets the state of this block.
|
static BufferData.State |
BufferData.State.valueOf(String name) |
static BufferData.State[] |
BufferData.State.values() |
| Modifier and Type | Method and Description |
|---|---|
void |
BufferData.setReady(BufferData.State... expectedCurrentState)
Marks the completion of reading data into the buffer.
|
boolean |
BufferData.stateEqualsOneOf(BufferData.State... states) |
void |
BufferData.throwIfStateIncorrect(BufferData.State... states)
Helper that asserts the current state is one of the expected values.
|
void |
BufferData.updateState(BufferData.State newState,
BufferData.State... expectedCurrentState)
Updates the current state to the specified value.
|
void |
BufferData.updateState(BufferData.State newState,
BufferData.State... expectedCurrentState)
Updates the current state to the specified value.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.