Uses of Class
io.grpc.Attributes.Key
-
-
Uses of Attributes.Key in io.grpc
Fields in io.grpc declared as Attributes.Key Modifier and Type Field Description static Attributes.Key<String>EquivalentAddressGroup. ATTR_AUTHORITY_OVERRIDEThe authority to be used when constructing Subchannels for this EquivalentAddressGroup.static Attributes.Key<String>NameResolver. ATTR_BACKEND_SERVICEstatic Attributes.Key<Map<String,?>>LoadBalancer. ATTR_HEALTH_CHECKING_CONFIGstatic Attributes.Key<Boolean>LoadBalancer. HAS_HEALTH_PRODUCER_LISTENER_KEYstatic Attributes.Key<Boolean>LoadBalancer. IS_PETIOLE_POLICYstatic Attributes.Key<SocketAddress>Grpc. TRANSPORT_ATTR_LOCAL_ADDRAttribute key for the local address of a transport.static Attributes.Key<SocketAddress>Grpc. TRANSPORT_ATTR_REMOTE_ADDRAttribute key for the remote address of a transport.static Attributes.Key<SSLSession>Grpc. TRANSPORT_ATTR_SSL_SESSIONAttribute key for SSL session of a transport.Methods in io.grpc that return Attributes.Key Modifier and Type Method Description static <T> Attributes.Key<T>Attributes.Key. create(String debugString)Factory method for creating instances ofAttributes.Key.static <T> Attributes.Key<T>Attributes.Key. of(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 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.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)
-