public enum ExternalAddressSelectionMode extends Enum<ExternalAddressSelectionMode>
Enum Constant and Description |
---|
ACTIVE_STANDBY
The SIS will use the first address in the list unless a failure occurs,
in which case it will attempt to use the next address, and so on for all
available addresses.
|
LOAD_SHARE
The SIS will attempt to keep the number of active sessions per address
approximately equal.
|
ROUND_ROBIN
The SIS will iteratively select each address once in turn before recycling
back to the first address.
|
Modifier and Type | Method and Description |
---|---|
static ExternalAddressSelectionMode |
fromString(String s)
Get an ExternalAddressSelectionMode enum from its name.
|
static ExternalAddressSelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExternalAddressSelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExternalAddressSelectionMode ROUND_ROBIN
public static final ExternalAddressSelectionMode LOAD_SHARE
public static final ExternalAddressSelectionMode ACTIVE_STANDBY
public static ExternalAddressSelectionMode[] values()
for (ExternalAddressSelectionMode c : ExternalAddressSelectionMode.values()) System.out.println(c);
public static ExternalAddressSelectionMode 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 nullpublic static ExternalAddressSelectionMode fromString(String s)
s
- the enum's name (case insensitive).IllegalArgumentException
- if s
is not a valid enum name.