public static enum ProxyBackendCfgDefn.LoadBalancingAlgorithm extends Enum<ProxyBackendCfgDefn.LoadBalancingAlgorithm>
How to load balance between servers
Enum Constant and Description |
---|
AFFINITY
Always route requests with the same target DN to the same
server
|
LEAST_REQUESTS
Use the server with the least requests being currently serviced
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ProxyBackendCfgDefn.LoadBalancingAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProxyBackendCfgDefn.LoadBalancingAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyBackendCfgDefn.LoadBalancingAlgorithm AFFINITY
public static final ProxyBackendCfgDefn.LoadBalancingAlgorithm LEAST_REQUESTS
public static ProxyBackendCfgDefn.LoadBalancingAlgorithm[] values()
for (ProxyBackendCfgDefn.LoadBalancingAlgorithm c : ProxyBackendCfgDefn.LoadBalancingAlgorithm.values()) System.out.println(c);
public static ProxyBackendCfgDefn.LoadBalancingAlgorithm 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 String toString()
toString
in class Enum<ProxyBackendCfgDefn.LoadBalancingAlgorithm>
Copyright 2010-2020 ForgeRock AS.