private static enum WriteFlusher.StateType extends java.lang.Enum<WriteFlusher.StateType>
Enum Constant and Description |
---|
COMPLETING |
FAILED |
IDLE |
PENDING |
WRITING |
Modifier and Type | Method and Description |
---|---|
static WriteFlusher.StateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WriteFlusher.StateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WriteFlusher.StateType IDLE
public static final WriteFlusher.StateType WRITING
public static final WriteFlusher.StateType PENDING
public static final WriteFlusher.StateType COMPLETING
public static final WriteFlusher.StateType FAILED
public static WriteFlusher.StateType[] values()
for (WriteFlusher.StateType c : WriteFlusher.StateType.values()) System.out.println(c);
public static WriteFlusher.StateType 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 null