| Enum Constant and Description |
|---|
CONNECTED_CLIENT
AristaFlow is running as client on its node and it is connected to the
AristaFlow-server.
|
DOUBTFUL_SERVER
The status of the server is doubtful, that is, the server seems to be lost
but it is given additional time to recover.
|
LOST_SERVER
The AristaFlow server has not sent alive signals and is therefore
considered lost.
|
RECONNECTING_CLIENT
AristaFlow is running as client on its node but it has lost connection to
the AristaFlow-server.
|
RESTARTING_CLIENT
AristaFlow has been running as client on its node and it is now restarting.
|
RESTARTING_SERVER
The AristaFlow server is restarting on its node.
|
RUNNING_SERVER
AristaFlow is running as server on its node.
|
STARTING
AristaFlow is starting on its node.
|
STARTING_CLIENT
AristaFlow is starting as client on its node.
|
STARTING_SERVER
AristaFlow is starting as server on its node.
|
TERMINATED
AristaFlow has terminated on its node.
|
TERMINATING_CLIENT
AristaFlow has been running as client on its node and it is now
terminating.
|
TERMINATING_SERVER
The AristaFlow server is terminating on its node.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Gets the code that is used for storing the status.
|
static Status |
valueOf(int code)
Gets the status for the corresponding code or
null in case
there is no corresponding status for the designated code. |
static Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status STARTING
public static final Status STARTING_SERVER
public static final Status RUNNING_SERVER
public static final Status RESTARTING_SERVER
TERMINATING_SERVER to signal the clients that the server will be
running again shortly.public static final Status TERMINATING_SERVER
public static final Status DOUBTFUL_SERVER
public static final Status LOST_SERVER
public static final Status STARTING_CLIENT
public static final Status CONNECTED_CLIENT
public static final Status RECONNECTING_CLIENT
public static final Status TERMINATING_CLIENT
public static final Status RESTARTING_CLIENT
public static final Status TERMINATED
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static 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 namejava.lang.NullPointerException - if the argument is nullpublic int getCode()
null.public static Status valueOf(int code)
null in case
there is no corresponding status for the designated code.code - The code that is used for representing a status.null in
case there is no corresponding status.