java.io.Serializable, java.lang.Comparable<BufferData.State>public static enum BufferData.State extends java.lang.Enum<BufferData.State>
| Enum Constant | Description |
|---|---|
BLANK |
Buffer has been acquired but has no data.
|
CACHING |
This block is being added to the local cache.
|
DONE |
This block is no longer in-use and should not be used once in this state.
|
PREFETCHING |
This block is being prefetched.
|
READY |
This block has data and is ready to be read.
|
UNKNOWN |
Unknown / invalid state.
|
| Modifier and Type | Method | Description |
|---|---|---|
static BufferData.State |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static BufferData.State[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BufferData.State UNKNOWN
public static final BufferData.State BLANK
public static final BufferData.State PREFETCHING
public static final BufferData.State CACHING
public static final BufferData.State READY
public static final BufferData.State DONE
public static BufferData.State[] values()
for (BufferData.State c : BufferData.State.values()) System.out.println(c);
public static BufferData.State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2008–2025 Apache Software Foundation. All rights reserved.