QueueBuilder.LeaderLocator.@Deprecated public static enum QueueBuilder.MasterLocator extends java.lang.Enum<QueueBuilder.MasterLocator>
| Enum Constant and Description |
|---|
clientLocal
Deprecated.
Deploy on the node we are connected to.
|
minMasters
Deprecated.
Deploy on the node with the fewest masters.
|
random
Deprecated.
Deploy on a random node.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Deprecated.
Return the value.
|
static QueueBuilder.MasterLocator |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static QueueBuilder.MasterLocator[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueueBuilder.MasterLocator minMasters
public static final QueueBuilder.MasterLocator clientLocal
public static final QueueBuilder.MasterLocator random
public static QueueBuilder.MasterLocator[] values()
for (QueueBuilder.MasterLocator c : QueueBuilder.MasterLocator.values()) System.out.println(c);
public static QueueBuilder.MasterLocator 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 nullpublic java.lang.String getValue()