public enum ClusterState extends Enum<ClusterState>
Enum Constant and Description |
---|
DEGRADED
At least one endpoint is connected.
|
OFFLINE
No endpoint is connected.
|
ONLINE
All endpoints are connected.
|
Modifier and Type | Method and Description |
---|---|
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 ONLINE
public static final ClusterState DEGRADED
public static final ClusterState OFFLINE
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 nullCopyright © 2020 Couchbase, Inc.. All rights reserved.