public enum ReadBufferStatus extends Enum<ReadBufferStatus>
| Enum Constant and Description |
|---|
AVAILABLE |
NOT_AVAILABLE |
READ_FAILED |
READING_IN_PROGRESS |
| Modifier and Type | Method and Description |
|---|---|
static ReadBufferStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadBufferStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadBufferStatus NOT_AVAILABLE
public static final ReadBufferStatus READING_IN_PROGRESS
public static final ReadBufferStatus AVAILABLE
public static final ReadBufferStatus READ_FAILED
public static ReadBufferStatus[] values()
for (ReadBufferStatus c : ReadBufferStatus.values()) System.out.println(c);
public static ReadBufferStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2020 Apache Software Foundation. All rights reserved.