public enum ClusterState extends Enum<ClusterState>
| Enum Constant and Description |
|---|
ACTIVE
Cluster activated.
|
ACTIVE_READ_ONLY
Cluster activated.
|
INACTIVE
Cluster deactivated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
active(ClusterState state) |
static @Nullable ClusterState |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static ClusterState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterState INACTIVE
public static final ClusterState ACTIVE
public static final ClusterState ACTIVE_READ_ONLY
public static ClusterState[] values()
for (ClusterState c : ClusterState.values()) System.out.println(c);
public static ClusterState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nullable public static @Nullable ClusterState fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.public static boolean active(ClusterState state)
state - Cluster stateTrue if cluster in given cluster state is activated and False otherwise.
GridGain In-Memory Computing Platform : ver. 8.9.26 Release Date : October 16 2025