Uses of Class
io.grpc.Attributes.Key
-
Packages that use Attributes.Key Package Description io.grpc The gRPC core public API.io.grpc.grpclb io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of Attributes.Key in io.grpc
Fields in io.grpc declared as Attributes.Key Modifier and Type Field Description static Attributes.Key<java.lang.String>
EquivalentAddressGroup. ATTR_AUTHORITY_OVERRIDE
The authority to be used when constructing Subchannels for this EquivalentAddressGroup.static Attributes.Key<java.util.Map<java.lang.String,?>>
LoadBalancer. ATTR_HEALTH_CHECKING_CONFIG
static Attributes.Key<java.lang.Boolean>
LoadBalancer. HAS_HEALTH_PRODUCER_LISTENER_KEY
static Attributes.Key<java.lang.Boolean>
LoadBalancer. IS_PETIOLE_POLICY
static Attributes.Key<InternalConfigSelector>
InternalConfigSelector. KEY
static Attributes.Key<java.net.SocketAddress>
Grpc. TRANSPORT_ATTR_LOCAL_ADDR
Attribute key for the local address of a transport.static Attributes.Key<java.net.SocketAddress>
Grpc. TRANSPORT_ATTR_REMOTE_ADDR
Attribute key for the remote address of a transport.static Attributes.Key<javax.net.ssl.SSLSession>
Grpc. TRANSPORT_ATTR_SSL_SESSION
Attribute key for SSL session of a transport.Fields in io.grpc with type parameters of type Attributes.Key Modifier and Type Field Description private java.util.IdentityHashMap<Attributes.Key<?>,java.lang.Object>
Attributes. data
private static java.util.IdentityHashMap<Attributes.Key<?>,java.lang.Object>
Attributes. EMPTY_MAP
private java.util.IdentityHashMap<Attributes.Key<?>,java.lang.Object>
Attributes.Builder. newdata
Methods in io.grpc that return Attributes.Key Modifier and Type Method Description static <T> Attributes.Key<T>
Attributes.Key. create(java.lang.String debugString)
Factory method for creating instances ofAttributes.Key
.static <T> Attributes.Key<T>
Attributes.Key. of(java.lang.String debugString)
Deprecated.usecreate(java.lang.String)
instead.Methods in io.grpc that return types with arguments of type Attributes.Key Modifier and Type Method Description private java.util.IdentityHashMap<Attributes.Key<?>,java.lang.Object>
Attributes.Builder. data(int size)
java.util.Set<Attributes.Key<?>>
Attributes. keys()
Deprecated.This method is being considered for removal, if you feel this method is needed please reach out on this Github issue: grpc-java/issues/1764.(package private) java.util.Set<Attributes.Key<?>>
Attributes. keysForTest()
Methods in io.grpc with parameters of type Attributes.Key Modifier and Type Method Description <T> Attributes.Builder
Attributes.Builder. discard(Attributes.Key<T> key)
Removes the key and associated value from the attributes.<T> T
Attributes. get(Attributes.Key<T> key)
Gets the value for the key, ornull
if it's not present.<T> Attributes.Builder
Attributes.Builder. set(Attributes.Key<T> key, T value)
Constructor parameters in io.grpc with type arguments of type Attributes.Key Constructor Description Attributes(java.util.IdentityHashMap<Attributes.Key<?>,java.lang.Object> data)
-
Uses of Attributes.Key in io.grpc.grpclb
Fields in io.grpc.grpclb declared as Attributes.Key Modifier and Type Field Description static Attributes.Key<java.lang.String>
GrpclbConstants. ATTR_LB_ADDR_AUTHORITY
The naming authority of a gRPC LB server address.static Attributes.Key<java.lang.String>
InternalGrpclbConstantsAccessor. ATTR_LB_ADDR_AUTHORITY
static Attributes.Key<java.util.List<EquivalentAddressGroup>>
GrpclbConstants. ATTR_LB_ADDRS
Attribute key for gRPC LB server addresses.static Attributes.Key<java.util.List<EquivalentAddressGroup>>
InternalGrpclbConstantsAccessor. ATTR_LB_ADDRS
static Attributes.Key<java.lang.Boolean>
GrpclbConstants. ATTR_LB_PROVIDED_BACKEND
Whether this EquivalentAddressGroup was provided by a GRPCLB server.private static Attributes.Key<java.util.concurrent.atomic.AtomicReference<ConnectivityStateInfo>>
GrpclbState. STATE_INFO
(package private) static Attributes.Key<java.lang.String>
GrpclbConstants. TOKEN_ATTRIBUTE_KEY
For passing LB tokens via the EAG attributes. -
Uses of Attributes.Key in io.grpc.internal
Fields in io.grpc.internal declared as Attributes.Key Modifier and Type Field Description static Attributes.Key<Attributes>
GrpcAttributes. ATTR_CLIENT_EAG_ATTRS
Attribute key for the attributes of theEquivalentAddressGroup
(EquivalentAddressGroup.getAttributes()
) that the transport's server address is from.static Attributes.Key<SecurityLevel>
GrpcAttributes. ATTR_SECURITY_LEVEL
The security level of the transport.(package private) static Attributes.Key<RetryingNameResolver.ResolutionResultListener>
RetryingNameResolver. RESOLUTION_RESULT_LISTENER_KEY
-
Uses of Attributes.Key in io.grpc.util
Fields in io.grpc.util declared as Attributes.Key Modifier and Type Field Description private static Attributes.Key<OutlierDetectionLoadBalancer.EndpointTracker>
OutlierDetectionLoadBalancer. ENDPOINT_TRACKER_KEY
-