public static enum ClusterInteractionRequest.Operation extends java.lang.Enum<ClusterInteractionRequest.Operation>
| Enum Constant and Description |
|---|
FORCE_SERVER_LOST
Poll the server and force its lost status.
|
POLL_SERVER
Wake up the heartbeat thread and poll the server node.
|
RESTART_THIS
The current node is doubtful and should restart.
|
SHUTDOWN_HEARTBEAT
The cluster heartbeat should shutdown.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterInteractionRequest.Operation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterInteractionRequest.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterInteractionRequest.Operation FORCE_SERVER_LOST
public static final ClusterInteractionRequest.Operation POLL_SERVER
public static final ClusterInteractionRequest.Operation RESTART_THIS
public static final ClusterInteractionRequest.Operation SHUTDOWN_HEARTBEAT
public static ClusterInteractionRequest.Operation[] values()
for (ClusterInteractionRequest.Operation c : ClusterInteractionRequest.Operation.values()) System.out.println(c);
public static ClusterInteractionRequest.Operation 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