Enum Class ClientRoutingMode
- All Implemented Interfaces:
Serializable, Comparable<ClientRoutingMode>, Constable
Client cluster routing mode.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSmart routing: connect to all configured seeds and route directly to members.Group-subset routing: connect to the configured member-group subset and route normal smart-client traffic across that subset.Unisocket routing: keep a single member connection and route all operations through it. -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientRoutingModeReturns the enum constant of this class with the specified name.static ClientRoutingMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL_MEMBERS
Smart routing: connect to all configured seeds and route directly to members. -
SINGLE_MEMBER
Unisocket routing: keep a single member connection and route all operations through it. -
MULTI_MEMBER
Group-subset routing: connect to the configured member-group subset and route normal smart-client traffic across that subset.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-