protected static enum AbstractRouterWithFailOverToNextNode.RouterStrategy extends Enum<AbstractRouterWithFailOverToNextNode.RouterStrategy>
Enum Constant and Description |
---|
MOD_ROUTER
Router based on Mod policy/strategy.
|
RR_ROUTER
Router based on RoundRobin policy/strategy.
|
Modifier and Type | Method and Description |
---|---|
static AbstractRouterWithFailOverToNextNode.RouterStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractRouterWithFailOverToNextNode.RouterStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractRouterWithFailOverToNextNode.RouterStrategy MOD_ROUTER
public static final AbstractRouterWithFailOverToNextNode.RouterStrategy RR_ROUTER
public static AbstractRouterWithFailOverToNextNode.RouterStrategy[] values()
for (AbstractRouterWithFailOverToNextNode.RouterStrategy c : AbstractRouterWithFailOverToNextNode.RouterStrategy.values()) System.out.println(c);
public static AbstractRouterWithFailOverToNextNode.RouterStrategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2010-2014 anotheria.net. All Rights Reserved.