public enum ClusterCommRequest extends java.lang.Enum<ClusterCommRequest>
| Enum Constant and Description |
|---|
POLL_SERVER
The communication heartbeat should explicitly poll the server and signal
that the server is doubtful.
|
SHUTDOWN_HEARTBEAT
The communication heartbeat should shutdown.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterCommRequest |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterCommRequest[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterCommRequest POLL_SERVER
public static final ClusterCommRequest SHUTDOWN_HEARTBEAT
public static ClusterCommRequest[] values()
for (ClusterCommRequest c : ClusterCommRequest.values()) System.out.println(c);
public static ClusterCommRequest 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