public static enum ConfigLoader.Algorithm extends Enum<ConfigLoader.Algorithm>
Enum Constant and Description |
---|
FAILOVER |
ROUNDROBIN |
Modifier and Type | Method and Description |
---|---|
static ConfigLoader.Algorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigLoader.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigLoader.Algorithm FAILOVER
public static final ConfigLoader.Algorithm ROUNDROBIN
public static ConfigLoader.Algorithm[] values()
for (ConfigLoader.Algorithm c : ConfigLoader.Algorithm.values()) System.out.println(c);
public static ConfigLoader.Algorithm 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 © 2008–2017 MIL-OSS. All rights reserved.