public static enum GrpclbConstants.LbPolicy extends Enum<GrpclbConstants.LbPolicy>
| Enum Constant and Description |
|---|
GRPCLB |
PICK_FIRST |
ROUND_ROBIN |
| Modifier and Type | Method and Description |
|---|---|
static GrpclbConstants.LbPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrpclbConstants.LbPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrpclbConstants.LbPolicy PICK_FIRST
public static final GrpclbConstants.LbPolicy ROUND_ROBIN
public static final GrpclbConstants.LbPolicy GRPCLB
public static GrpclbConstants.LbPolicy[] values()
for (GrpclbConstants.LbPolicy c : GrpclbConstants.LbPolicy.values()) System.out.println(c);
public static GrpclbConstants.LbPolicy 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 null