|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NodeDiscoveryType>
com.netflix.astyanax.connectionpool.NodeDiscoveryType
public enum NodeDiscoveryType
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
static NodeDiscoveryType |
valueOf(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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NodeDiscoveryType RING_DESCRIBE
public static final NodeDiscoveryType DISCOVERY_SERVICE
public static final NodeDiscoveryType TOKEN_AWARE
public static final NodeDiscoveryType NONE
Method Detail |
---|
public static NodeDiscoveryType[] values()
for (NodeDiscoveryType c : NodeDiscoveryType.values()) System.out.println(c);
public static NodeDiscoveryType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |