public enum ClusterNodeType extends Enum<ClusterNodeType>
Represents the type of cluster node that is in use
Enum Constant and Description |
---|
FULL
A full cluster member.
|
READ_REPLICA
The node's purpose is to attempt to stay as in sync as possible with the cluster but
not join.
|
STANDBY
The node's purpose is to attempt to stay as in sync as possible with the cluster but
not join.
|
Modifier and Type | Method and Description |
---|---|
static ClusterNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusterNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusterNodeType FULL
public static final ClusterNodeType STANDBY
public static final ClusterNodeType READ_REPLICA
public static ClusterNodeType[] values()
for (ClusterNodeType c : ClusterNodeType.values()) System.out.println(c);
public static ClusterNodeType 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 © 2010-2016 Stardog Union. All Rights Reserved.