Uses of Class
io.grpc.EquivalentAddressGroup
-
-
Uses of EquivalentAddressGroup in io.grpc
Methods in io.grpc that return EquivalentAddressGroup Modifier and Type Method Description EquivalentAddressGroupLoadBalancer.Subchannel. getAddresses()Returns the addresses that this Subchannel is bound to.Methods in io.grpc that return types with arguments of type EquivalentAddressGroup Modifier and Type Method Description java.util.List<EquivalentAddressGroup>LoadBalancer.CreateSubchannelArgs. getAddresses()Returns the addresses, which is an unmodifiable list.java.util.List<EquivalentAddressGroup>LoadBalancer.ResolvedAddresses. getAddresses()Gets the server addresses.java.util.List<EquivalentAddressGroup>NameResolver.ResolutionResult. getAddresses()Gets the addresses resolved by name resolution.java.util.List<EquivalentAddressGroup>LoadBalancer.Subchannel. getAllAddresses()Returns the addresses that this Subchannel is bound to.Methods in io.grpc with parameters of type EquivalentAddressGroup Modifier and Type Method Description abstract ManagedChannelLoadBalancer.Helper. createOobChannel(EquivalentAddressGroup eag, java.lang.String authority)Out-of-band channel for LoadBalancer’s own RPC needs, e.g., talking to an external load-balancer service.LoadBalancer.CreateSubchannelArgs.BuilderLoadBalancer.CreateSubchannelArgs.Builder. setAddresses(EquivalentAddressGroup addrs)The addresses to connect to.voidLoadBalancer.Helper. updateOobChannelAddresses(ManagedChannel channel, EquivalentAddressGroup eag)Updates the addresses used for connections in theChannelthat was created byLoadBalancer.Helper.createOobChannel(EquivalentAddressGroup, String).Method parameters in io.grpc with type arguments of type EquivalentAddressGroup Modifier and Type Method Description ManagedChannelLoadBalancer.Helper. createOobChannel(java.util.List<EquivalentAddressGroup> eag, java.lang.String authority)Accept a list of EAG for multiple authorities: https://github.com/grpc/grpc-java/issues/4618voidNameResolver.Listener. onAddresses(java.util.List<EquivalentAddressGroup> servers, Attributes attributes)Handles updates on resolved addresses and attributes.voidNameResolver.Listener2. onAddresses(java.util.List<EquivalentAddressGroup> servers, Attributes attributes)Deprecated.This will be removed in 1.22.0LoadBalancer.CreateSubchannelArgs.BuilderLoadBalancer.CreateSubchannelArgs.Builder. setAddresses(java.util.List<EquivalentAddressGroup> addrs)The addresses to connect to.LoadBalancer.ResolvedAddresses.BuilderLoadBalancer.ResolvedAddresses.Builder. setAddresses(java.util.List<EquivalentAddressGroup> addresses)Sets the addresses.NameResolver.ResolutionResult.BuilderNameResolver.ResolutionResult.Builder. setAddresses(java.util.List<EquivalentAddressGroup> addresses)Sets the addresses resolved by name resolution.voidLoadBalancer.Subchannel. updateAddresses(java.util.List<EquivalentAddressGroup> addrs)Replaces the existing addresses used with thisSubchannel.voidLoadBalancer.Helper. updateOobChannelAddresses(ManagedChannel channel, java.util.List<EquivalentAddressGroup> eag)Updates the addresses with a new EAG list.
-