public static enum GroupDescription.Type extends java.lang.Enum<GroupDescription.Type>
Enum Constant and Description |
---|
ALL
Multicast to all buckets in a group.
|
FAILOVER
Uses the first live bucket in a group.
|
INDIRECT
Single Bucket Group.
|
SELECT
Load-balancing among different buckets in a group.
|
Modifier and Type | Method and Description |
---|---|
static GroupDescription.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroupDescription.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupDescription.Type SELECT
public static final GroupDescription.Type INDIRECT
public static final GroupDescription.Type ALL
public static final GroupDescription.Type FAILOVER
public static GroupDescription.Type[] values()
for (GroupDescription.Type c : GroupDescription.Type.values()) System.out.println(c);
public static GroupDescription.Type 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