|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||||
java.lang.Objectjava.lang.Enum<JPPFClientConnectionStatus>
org.jppf.client.JPPFClientConnectionStatus
public enum JPPFClientConnectionStatus
Connection status of a JPPFClientConnection instance.
| Enum Constant Summary | |
|---|---|
ACTIVE
Indicates that the connection instance has successfully connected to the driver. |
|
CONNECTING
Indicates that the connection instance is currently attempting to connect to the driver. |
|
DISCONNECTED
Indicates that the connection instance is disconnected from the driver. |
|
EXECUTING
Indicates that the connection instance has is currently executing tasks. |
|
FAILED
Indicates that the connection instance has failed to connect to the driver. |
|
NEW
Indicates a new connection. |
|
| Method Summary | |
|---|---|
static JPPFClientConnectionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JPPFClientConnectionStatus[] |
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 JPPFClientConnectionStatus NEW
public static final JPPFClientConnectionStatus DISCONNECTED
public static final JPPFClientConnectionStatus CONNECTING
public static final JPPFClientConnectionStatus ACTIVE
public static final JPPFClientConnectionStatus EXECUTING
public static final JPPFClientConnectionStatus FAILED
| Method Detail |
|---|
public static JPPFClientConnectionStatus[] values()
for (JPPFClientConnectionStatus c : JPPFClientConnectionStatus.values()) System.out.println(c);
public static JPPFClientConnectionStatus 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 | ||||||||||