| Package | Description |
|---|---|
| org.apache.hadoop.fs.impl.prefetch |
block caching for use in object store clients.
|
| Modifier and Type | Method | Description |
|---|---|---|
BufferData.State |
BufferData.getState() |
Gets the state of this block.
|
static BufferData.State |
BufferData.State.valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static BufferData.State[] |
BufferData.State.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method | 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.
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.