public static enum ClusterSetting.Status extends java.lang.Enum<ClusterSetting.Status>
The cluster status enumeration.
Enum Constant and Description |
---|
CLUSTER_SERVICE_ERROR
The cluster service address can be visited.
|
COMMUNICATION_ERROR
Communication error, cluster service address can not be accessed.
|
INVALID_ADDRESS
The cluster service address is invalid.
|
INVALID_TOKEN
Cluster token error.
|
OK
It is running well.
|
UNLOAD
The cluster module isn't be added.
|
Modifier and Type | Method and Description |
---|---|
static ClusterSetting.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterSetting.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final ClusterSetting.Status UNLOAD
public static final ClusterSetting.Status OK
public static final ClusterSetting.Status COMMUNICATION_ERROR
public static final ClusterSetting.Status INVALID_TOKEN
public static final ClusterSetting.Status CLUSTER_SERVICE_ERROR
public static final ClusterSetting.Status INVALID_ADDRESS
public static ClusterSetting.Status[] values()
for (ClusterSetting.Status c : ClusterSetting.Status.values()) System.out.println(c);
public static ClusterSetting.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 null