public static enum Strand.State extends java.lang.Enum<Strand.State>
| Enum Constant and Description |
|---|
NEW
Strand created but not started
|
RUNNING
Strand is running.
|
STARTED
Strand started but not yet running.
|
TERMINATED
Strand has terminated.
|
TIMED_WAITING
Strand is blocked with a timeout
|
WAITING
Strand is blocked.
|
| Modifier and Type | Method and Description |
|---|---|
static Strand.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Strand.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Strand.State NEW
public static final Strand.State STARTED
public static final Strand.State RUNNING
public static final Strand.State WAITING
public static final Strand.State TIMED_WAITING
public static final Strand.State TERMINATED
public static Strand.State[] values()
for (Strand.State c : Strand.State.values()) System.out.println(c);
public static Strand.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