@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1782") public final class GrpclbConstants extends Object
Modifier and Type | Field and Description |
---|---|
static Attributes.Key<String> |
ATTR_LB_ADDR_AUTHORITY
The naming authority of a gRPC LB server address.
|
static Attributes.Key<List<EquivalentAddressGroup>> |
ATTR_LB_ADDRS
Attribute key for gRPC LB server addresses.
|
static Attributes.Key<Boolean> |
ATTR_LB_PROVIDED_BACKEND
Whether this EquivalentAddressGroup was provided by a GRPCLB server.
|
static Metadata.Key<String> |
TOKEN_METADATA_KEY
The opaque token given by the remote balancer for each returned server address.
|
public static final Metadata.Key<String> TOKEN_METADATA_KEY
public static final Attributes.Key<List<EquivalentAddressGroup>> ATTR_LB_ADDRS
@EquivalentAddressGroup.Attr public static final Attributes.Key<String> ATTR_LB_ADDR_AUTHORITY
@EquivalentAddressGroup.Attr public static final Attributes.Key<Boolean> ATTR_LB_PROVIDED_BACKEND
false
; generally it would be better to not have the key present at all.