public enum RuleBasedRouterFailoverType extends Enum<RuleBasedRouterFailoverType>
| Enum Constant and Description |
|---|
all
默认返回全量地址。优先保证服务调用正常
|
none
不降级,返回空地址列表
|
| Modifier and Type | Method and Description |
|---|---|
static RuleBasedRouterFailoverType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuleBasedRouterFailoverType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuleBasedRouterFailoverType all
public static final RuleBasedRouterFailoverType none
public static RuleBasedRouterFailoverType[] values()
for (RuleBasedRouterFailoverType c : RuleBasedRouterFailoverType.values()) System.out.println(c);
public static RuleBasedRouterFailoverType 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 © 2024. All rights reserved.