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