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