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_OVERRIDEThe authority to be used when constructing Subchannels for this EquivalentAddressGroup.static Attributes.Key<java.util.Map<java.lang.String,?>>LoadBalancer. ATTR_HEALTH_CHECKING_CONFIGstatic Attributes.Key<java.lang.Boolean>LoadBalancer. HAS_HEALTH_PRODUCER_LISTENER_KEYstatic Attributes.Key<java.lang.Boolean>LoadBalancer. IS_PETIOLE_POLICYstatic Attributes.Key<InternalConfigSelector>InternalConfigSelector. KEYstatic Attributes.Key<java.net.SocketAddress>Grpc. TRANSPORT_ATTR_LOCAL_ADDRAttribute key for the local address of a transport.static Attributes.Key<java.net.SocketAddress>Grpc. TRANSPORT_ATTR_REMOTE_ADDRAttribute key for the remote address of a transport.static Attributes.Key<javax.net.ssl.SSLSession>Grpc. TRANSPORT_ATTR_SSL_SESSIONAttribute 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. dataprivate static java.util.IdentityHashMap<Attributes.Key<?>,java.lang.Object>Attributes. EMPTY_MAPprivate java.util.IdentityHashMap<Attributes.Key<?>,java.lang.Object>Attributes.Builder. newdataMethods 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.BuilderAttributes.Builder. discard(Attributes.Key<T> key)Removes the key and associated value from the attributes.<T> TAttributes. get(Attributes.Key<T> key)Gets the value for the key, ornullif it's not present.<T> Attributes.BuilderAttributes.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_AUTHORITYThe naming authority of a gRPC LB server address.static Attributes.Key<java.lang.String>InternalGrpclbConstantsAccessor. ATTR_LB_ADDR_AUTHORITYstatic Attributes.Key<java.util.List<EquivalentAddressGroup>>GrpclbConstants. ATTR_LB_ADDRSAttribute key for gRPC LB server addresses.static Attributes.Key<java.util.List<EquivalentAddressGroup>>InternalGrpclbConstantsAccessor. ATTR_LB_ADDRSstatic Attributes.Key<java.lang.Boolean>GrpclbConstants. ATTR_LB_PROVIDED_BACKENDWhether 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_KEYFor 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_ATTRSAttribute key for the attributes of theEquivalentAddressGroup(EquivalentAddressGroup.getAttributes()) that the transport's server address is from.static Attributes.Key<SecurityLevel>GrpcAttributes. ATTR_SECURITY_LEVELThe 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
-