public enum SiteLoadBalancing extends Enum<SiteLoadBalancing>
Enum Constant and Description |
---|
LEAST_REQUESTS
Enum value LeastRequests.
|
LEAST_RESPONSE_TIME
Enum value LeastResponseTime.
|
REQUEST_HASH
Enum value RequestHash.
|
WEIGHTED_ROUND_ROBIN
Enum value WeightedRoundRobin.
|
WEIGHTED_TOTAL_TRAFFIC
Enum value WeightedTotalTraffic.
|
Modifier and Type | Method and Description |
---|---|
static SiteLoadBalancing |
fromString(String value)
Parses a serialized value to a SiteLoadBalancing instance.
|
String |
toString() |
static SiteLoadBalancing |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SiteLoadBalancing[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SiteLoadBalancing WEIGHTED_ROUND_ROBIN
public static final SiteLoadBalancing LEAST_REQUESTS
public static final SiteLoadBalancing LEAST_RESPONSE_TIME
public static final SiteLoadBalancing WEIGHTED_TOTAL_TRAFFIC
public static final SiteLoadBalancing REQUEST_HASH
public static SiteLoadBalancing[] values()
for (SiteLoadBalancing c : SiteLoadBalancing.values()) System.out.println(c);
public static SiteLoadBalancing 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 SiteLoadBalancing fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<SiteLoadBalancing>
Copyright © 2019. All rights reserved.