Uses of Class
io.grpc.Attributes
-
-
Uses of Attributes in io.grpc
Fields in io.grpc declared as Attributes Modifier and Type Field Description static AttributesAttributes. EMPTYMethods in io.grpc that return Attributes Modifier and Type Method Description AttributesAttributes.Builder. build()Build the attributes.AttributesClientCall. getAttributes()Returns additional properties of the call.AttributesEquivalentAddressGroup. getAttributes()Returns the attributes.AttributesLoadBalancer.CreateSubchannelArgs. getAttributes()Returns the attributes.AttributesLoadBalancer.ResolvedAddresses. getAttributes()Gets the attributes associated with these addresses.abstract AttributesLoadBalancer.Subchannel. getAttributes()The same attributes passed toHelper.createSubchannel().AttributesNameResolver.ResolutionResult. getAttributes()Gets the attributes associated with the addresses resolved by name resolution.AttributesServerCall. getAttributes()Returns properties of a single call.abstract AttributesServerStreamTracer.ServerCallInfo. getAttributes()AttributesLoadBalancer.Subchannel. getConnectedAddressAttributes()(Internal use only) returns attributes of the address subchannel is connected to.abstract AttributesCallCredentials.RequestInfo. getTransportAttrs()Returns the transport attributes.AttributesClientTransportFilter. transportReady(Attributes transportAttrs)Called when a transport is ready to accept traffic (when a connection has been established).AttributesServerTransportFilter. transportReady(Attributes transportAttrs)Called when a transport is ready to process streams.Methods in io.grpc with parameters of type Attributes Modifier and Type Method Description static Attributes.BuilderAttributes. newBuilder(Attributes base)Deprecated.UsetoBuilder()on theAttributesinstance instead.voidNameResolver.Listener. onAddresses(List<EquivalentAddressGroup> servers, Attributes attributes)Handles updates on resolved addresses and attributes.voidNameResolver.Listener2. onAddresses(List<EquivalentAddressGroup> servers, Attributes attributes)Deprecated.This will be removed in 1.22.0Attributes.BuilderAttributes.Builder. setAll(Attributes other)LoadBalancer.CreateSubchannelArgs.BuilderLoadBalancer.CreateSubchannelArgs.Builder. setAttributes(Attributes attrs)Attributes provided here will be included inLoadBalancer.Subchannel.getAttributes().LoadBalancer.ResolvedAddresses.BuilderLoadBalancer.ResolvedAddresses.Builder. setAttributes(Attributes attributes)Sets the attributes.NameResolver.ResolutionResult.BuilderNameResolver.ResolutionResult.Builder. setAttributes(Attributes attributes)Sets the attributes for the addresses resolved by name resolution.voidClientStreamTracer. streamCreated(Attributes transportAttrs, Metadata headers)The stream is being created on a ready transport.AttributesClientTransportFilter. transportReady(Attributes transportAttrs)Called when a transport is ready to accept traffic (when a connection has been established).AttributesServerTransportFilter. transportReady(Attributes transportAttrs)Called when a transport is ready to process streams.voidClientTransportFilter. transportTerminated(Attributes transportAttrs)Called when a transport completed shutting down.voidServerTransportFilter. transportTerminated(Attributes transportAttrs)Called when a transport is terminated.Constructors in io.grpc with parameters of type Attributes Constructor Description EquivalentAddressGroup(SocketAddress addr, Attributes attrs)Singleton constructor with Attributes.EquivalentAddressGroup(List<SocketAddress> addrs, Attributes attrs)List constructor withAttributes.
-