private static enum FileResourceConsumer.STATE extends java.lang.Enum<FileResourceConsumer.STATE>
| Enum Constant and Description |
|---|
ACTIVELY_CONSUMING |
ASKED_TO_SHUTDOWN |
COMPLETED |
CONSUMER_ERROR |
CONSUMER_EXCEPTION |
EXCEEDED_MAX_CONSEC_WAIT_MILLIS |
NOT_YET_STARTED |
SWALLOWED_POISON |
THREAD_INTERRUPTED |
TIMED_OUT |
| Modifier and Type | Method and Description |
|---|---|
static FileResourceConsumer.STATE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileResourceConsumer.STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileResourceConsumer.STATE NOT_YET_STARTED
public static final FileResourceConsumer.STATE ACTIVELY_CONSUMING
public static final FileResourceConsumer.STATE SWALLOWED_POISON
public static final FileResourceConsumer.STATE THREAD_INTERRUPTED
public static final FileResourceConsumer.STATE EXCEEDED_MAX_CONSEC_WAIT_MILLIS
public static final FileResourceConsumer.STATE ASKED_TO_SHUTDOWN
public static final FileResourceConsumer.STATE TIMED_OUT
public static final FileResourceConsumer.STATE CONSUMER_EXCEPTION
public static final FileResourceConsumer.STATE CONSUMER_ERROR
public static final FileResourceConsumer.STATE COMPLETED
public static FileResourceConsumer.STATE[] values()
for (FileResourceConsumer.STATE c : FileResourceConsumer.STATE.values()) System.out.println(c);
public static FileResourceConsumer.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 null