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