public enum NodeDiscoveryType extends java.lang.Enum<NodeDiscoveryType>
| Enum Constant and Description |
|---|
DISCOVERY_SERVICE
Discover nodes exclusively from an external node discovery service
|
NONE
Use only nodes in the list of seeds
|
RING_DESCRIBE
Discover nodes exclusively from doing a ring describe
|
TOKEN_AWARE
Intersect ring describe and nodes from an external service.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeDiscoveryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeDiscoveryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeDiscoveryType RING_DESCRIBE
public static final NodeDiscoveryType DISCOVERY_SERVICE
public static final NodeDiscoveryType TOKEN_AWARE
public static final NodeDiscoveryType NONE
public static NodeDiscoveryType[] values()
for (NodeDiscoveryType c : NodeDiscoveryType.values()) System.out.println(c);
public static NodeDiscoveryType 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