public static enum CacheAwareLoadBalancer.GeneratorFunctionType extends Enum<CacheAwareLoadBalancer.GeneratorFunctionType>
Enum Constant and Description |
---|
CACHE_RATIO |
LOAD |
Modifier and Type | Method and Description |
---|---|
static CacheAwareLoadBalancer.GeneratorFunctionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CacheAwareLoadBalancer.GeneratorFunctionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheAwareLoadBalancer.GeneratorFunctionType LOAD
public static final CacheAwareLoadBalancer.GeneratorFunctionType CACHE_RATIO
public static CacheAwareLoadBalancer.GeneratorFunctionType[] values()
for (CacheAwareLoadBalancer.GeneratorFunctionType c : CacheAwareLoadBalancer.GeneratorFunctionType.values()) System.out.println(c);
public static CacheAwareLoadBalancer.GeneratorFunctionType 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 © 2007–2020 The Apache Software Foundation. All rights reserved.