Uses of Class
io.grpc.Attributes
Packages that use Attributes
-
Uses of Attributes in io.grpc
Fields in io.grpc declared as AttributesMethods in io.grpc that return AttributesModifier and TypeMethodDescriptionAttributes.Builder.build()Build the attributes.ClientCall.getAttributes()Returns additional properties of the call.EquivalentAddressGroup.getAttributes()Returns the attributes.LoadBalancer.CreateSubchannelArgs.getAttributes()Returns the attributes.LoadBalancer.ResolvedAddresses.getAttributes()Gets the attributes associated with these addresses.abstract AttributesLoadBalancer.Subchannel.getAttributes()The same attributes passed toHelper.createSubchannel().NameResolver.ResolutionResult.getAttributes()Gets the attributes associated with the addresses resolved by name resolution.ServerCall.getAttributes()Returns properties of a single call.abstract AttributesServerStreamTracer.ServerCallInfo.getAttributes()abstract AttributesCallCredentials.RequestInfo.getTransportAttrs()Returns the transport attributes.ClientTransportFilter.transportReady(Attributes transportAttrs) Called when a transport is ready to accept traffic (when a connection has been established).ServerTransportFilter.transportReady(Attributes transportAttrs) Called when a transport is ready to process streams.Methods in io.grpc with parameters of type AttributesModifier and TypeMethodDescriptionstatic Attributes.BuilderAttributes.newBuilder(Attributes base) Deprecated.voidNameResolver.Listener.onAddresses(List<EquivalentAddressGroup> servers, Attributes attributes) Handles updates on resolved addresses and attributes.final voidNameResolver.Listener2.onAddresses(List<EquivalentAddressGroup> servers, Attributes attributes) Deprecated.This will be removed in 1.22.0Attributes.Builder.setAll(Attributes other) LoadBalancer.CreateSubchannelArgs.Builder.setAttributes(Attributes attrs) Attributes provided here will be included inLoadBalancer.Subchannel.getAttributes().LoadBalancer.ResolvedAddresses.Builder.setAttributes(Attributes attributes) Sets the attributes.NameResolver.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.ClientTransportFilter.transportReady(Attributes transportAttrs) Called when a transport is ready to accept traffic (when a connection has been established).ServerTransportFilter.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 AttributesModifierConstructorDescriptionEquivalentAddressGroup(SocketAddress addr, Attributes attrs) Singleton constructor with Attributes.EquivalentAddressGroup(List<SocketAddress> addrs, Attributes attrs) List constructor withAttributes.
toBuilder()on theAttributesinstance instead.