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 |
|---|---|
boolean |
active() |
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
NOTE: Deactivation clears in-memory caches (without persistence) including the system caches.
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 nullpublic boolean active()
True if cluster activated in this state and false otherwise.@Nullable public static @Nullable ClusterState fromOrdinal(int ord)
ord - Ordinal value.null if ordinal out of range.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023