public enum SpaceProxyLoadBalancerType extends Enum<SpaceProxyLoadBalancerType>
Enum Constant and Description |
---|
ROUND_ROBIN |
STICKY |
Modifier and Type | Method and Description |
---|---|
static SpaceProxyLoadBalancerType |
fromCode(byte code) |
byte |
getCode() |
static SpaceProxyLoadBalancerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpaceProxyLoadBalancerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpaceProxyLoadBalancerType STICKY
public static final SpaceProxyLoadBalancerType ROUND_ROBIN
public static SpaceProxyLoadBalancerType[] values()
for (SpaceProxyLoadBalancerType c : SpaceProxyLoadBalancerType.values()) System.out.println(c);
public static SpaceProxyLoadBalancerType 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 byte getCode()
public static SpaceProxyLoadBalancerType fromCode(byte code)
Copyright © GigaSpaces.