|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||
java.lang.Objectjava.lang.Enum<NodeEventType>
org.jppf.node.event.NodeEventType
public enum NodeEventType
Enumeration of all possible event types.
| Enum Constant Summary | |
|---|---|
DISCONNECTED
Event type to specify a node is disconnected from the server. |
|
END_CONNECT
Event type to specify a node has successfully connected to the server. |
|
END_EXEC
Event type to specify a node finished executing one or more tasks, and is switching from executing to idle state. |
|
START_CONNECT
Event type to specify a node is about to attempt connecting to the server. |
|
START_EXEC
Event type to specify a node is starting to execute one or more tasks, and is switching from idle to executing state. |
|
TASK_EXECUTED
Event type to specify a task was executed. |
|
UNKNOWN
Event type to specify the state of the node is not known. |
|
| Method Summary | |
|---|---|
static NodeEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NodeEventType[] |
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 NodeEventType START_CONNECT
public static final NodeEventType END_CONNECT
public static final NodeEventType DISCONNECTED
public static final NodeEventType START_EXEC
public static final NodeEventType END_EXEC
public static final NodeEventType TASK_EXECUTED
public static final NodeEventType UNKNOWN
| Method Detail |
|---|
public static NodeEventType[] values()
for (NodeEventType c : NodeEventType.values()) System.out.println(c);
public static NodeEventType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||