public final class GrpcAttributes extends Object
Modifier and Type | Field and Description |
---|---|
static Attributes.Key<Attributes> |
ATTR_CLIENT_EAG_ATTRS
Attribute key for the attributes of the
EquivalentAddressGroup (EquivalentAddressGroup.getAttributes() ) that the transport's server address is from. |
static Attributes.Key<String> |
ATTR_LB_ADDR_AUTHORITY
The naming authority of a gRPC LB server address.
|
static Attributes.Key<Boolean> |
ATTR_LB_PROVIDED_BACKEND
Whether this EquivalentAddressGroup was provided by a GRPCLB server.
|
static Attributes.Key<SecurityLevel> |
ATTR_SECURITY_LEVEL
The security level of the transport.
|
static Attributes.Key<Map<String,?>> |
NAME_RESOLVER_SERVICE_CONFIG
Attribute key for service config.
|
@NameResolver.ResolutionResultAttr public static final Attributes.Key<Map<String,?>> NAME_RESOLVER_SERVICE_CONFIG
@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.@Grpc.TransportAttr public static final Attributes.Key<SecurityLevel> ATTR_SECURITY_LEVEL
SecurityLevel.NONE
should be
assumed.@Grpc.TransportAttr public static final Attributes.Key<Attributes> ATTR_CLIENT_EAG_ATTRS
EquivalentAddressGroup
(EquivalentAddressGroup.getAttributes()
) that the transport's server address is from. This is a
client-side-only transport attribute, and available right after the transport is started.Copyright © 2019. All rights reserved.