Uses of Class
io.grpc.Attributes.Key
Packages that use Attributes.Key
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
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.KeyModifier and TypeFieldDescriptionstatic final Attributes.Key<String> EquivalentAddressGroup.ATTR_AUTHORITY_OVERRIDEThe authority to be used when constructing Subchannels for this EquivalentAddressGroup.static final Attributes.Key<Map<String, ?>> LoadBalancer.ATTR_HEALTH_CHECKING_CONFIGstatic final Attributes.Key<Boolean> LoadBalancer.HAS_HEALTH_PRODUCER_LISTENER_KEYstatic final Attributes.Key<Boolean> LoadBalancer.IS_PETIOLE_POLICYstatic final Attributes.Key<InternalConfigSelector> InternalConfigSelector.KEYstatic final Attributes.Key<SocketAddress> Attribute key for the local address of a transport.static final Attributes.Key<SocketAddress> Attribute key for the remote address of a transport.static final Attributes.Key<SSLSession> Attribute key for SSL session of a transport.Fields in io.grpc with type parameters of type Attributes.KeyModifier and TypeFieldDescriptionprivate final IdentityHashMap<Attributes.Key<?>, Object> Attributes.dataprivate static final IdentityHashMap<Attributes.Key<?>, Object> Attributes.EMPTY_MAPprivate IdentityHashMap<Attributes.Key<?>, Object> Attributes.Builder.newdataMethods in io.grpc that return Attributes.KeyModifier and TypeMethodDescriptionstatic <T> Attributes.Key<T> Factory method for creating instances ofAttributes.Key.static <T> Attributes.Key<T> Deprecated.Methods in io.grpc that return types with arguments of type Attributes.KeyModifier and TypeMethodDescriptionprivate IdentityHashMap<Attributes.Key<?>, Object> Attributes.Builder.data(int size) 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) Set<Attributes.Key<?>> Attributes.keysForTest()Methods in io.grpc with parameters of type Attributes.KeyModifier and TypeMethodDescriptionAttributes.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.Attributes.Builder.set(Attributes.Key<T> key, T value) Constructor parameters in io.grpc with type arguments of type Attributes.Key -
Uses of Attributes.Key in io.grpc.grpclb
Fields in io.grpc.grpclb declared as Attributes.KeyModifier and TypeFieldDescriptionstatic final Attributes.Key<String> GrpclbConstants.ATTR_LB_ADDR_AUTHORITYThe naming authority of a gRPC LB server address.static final Attributes.Key<String> InternalGrpclbConstantsAccessor.ATTR_LB_ADDR_AUTHORITYstatic final Attributes.Key<List<EquivalentAddressGroup>> GrpclbConstants.ATTR_LB_ADDRSAttribute key for gRPC LB server addresses.static final Attributes.Key<List<EquivalentAddressGroup>> InternalGrpclbConstantsAccessor.ATTR_LB_ADDRSstatic final Attributes.Key<Boolean> GrpclbConstants.ATTR_LB_PROVIDED_BACKENDWhether this EquivalentAddressGroup was provided by a GRPCLB server.private static final Attributes.Key<AtomicReference<ConnectivityStateInfo>> GrpclbState.STATE_INFO(package private) static final Attributes.Key<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.KeyModifier and TypeFieldDescriptionstatic final 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 final Attributes.Key<SecurityLevel> GrpcAttributes.ATTR_SECURITY_LEVELThe security level of the transport.(package private) static final 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.KeyModifier and TypeFieldDescriptionprivate static final Attributes.Key<OutlierDetectionLoadBalancer.EndpointTracker> OutlierDetectionLoadBalancer.ENDPOINT_TRACKER_KEY
create(java.lang.String)instead.