|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Joiner.Status>
org.jboss.byteman.synchronization.Joiner.Status
public static enum Joiner.Status
status values returned from child add method
Enum Constant Summary | |
---|---|
ADDED
an ADDED status is returned when a child successfully adds itself to the join list but without reaching the expected number of children |
|
DONE
a DONE status is returned when a child successfully adds itself to the join list reaching the expected number of children and there is a parent thread waiting for the children |
|
DUPLICATE
a DUPLICATE status is returned when a child fails to add itself to the join list because it is already present |
|
EXCESS
an EXCESS status is returned when a child fails to add itself to a join list because it already contains the expected number of children |
|
FILLED
a FILLED status is returned when a child successfully adds itself to the join list reaching the expected number of children but there is no parent thread waiting for the children |
Method Summary | |
---|---|
static Joiner.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Joiner.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Joiner.Status DUPLICATE
public static final Joiner.Status EXCESS
public static final Joiner.Status ADDED
public static final Joiner.Status FILLED
public static final Joiner.Status DONE
Method Detail |
---|
public static Joiner.Status[] values()
for (Joiner.Status c : Joiner.Status.values()) System.out.println(c);
public static Joiner.Status 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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |