Package org.springframework.amqp.core
Enum QueueBuilder.MasterLocator
- java.lang.Object
-
- java.lang.Enum<QueueBuilder.MasterLocator>
-
- org.springframework.amqp.core.QueueBuilder.MasterLocator
-
- All Implemented Interfaces:
Serializable
,Comparable<QueueBuilder.MasterLocator>
- Enclosing class:
- QueueBuilder
@Deprecated public static enum QueueBuilder.MasterLocator extends Enum<QueueBuilder.MasterLocator>
Deprecated.in favor ofQueueBuilder.LeaderLocator
.
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getValue()
Deprecated.Return the value.static QueueBuilder.MasterLocator
valueOf(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.
-
-
-
Enum Constant Detail
-
minMasters
public static final QueueBuilder.MasterLocator minMasters
Deprecated.Deploy on the node with the fewest masters.
-
clientLocal
public static final QueueBuilder.MasterLocator clientLocal
Deprecated.Deploy on the node we are connected to.
-
random
public static final QueueBuilder.MasterLocator random
Deprecated.Deploy on a random node.
-
-
Method Detail
-
values
public static QueueBuilder.MasterLocator[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (QueueBuilder.MasterLocator c : QueueBuilder.MasterLocator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static QueueBuilder.MasterLocator valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
Deprecated.Return the value.- Returns:
- the value.
-
-