Uses of Class
io.grpc.EquivalentAddressGroup
-
Packages that use EquivalentAddressGroup Package Description io.grpc The gRPC core public API.io.grpc.grpclb io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of EquivalentAddressGroup in io.grpc
Methods in io.grpc that return EquivalentAddressGroup Modifier and Type Method Description EquivalentAddressGroup
LoadBalancer.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 List<EquivalentAddressGroup>
LoadBalancer.CreateSubchannelArgs. getAddresses()
Returns the addresses, which is an unmodifiable list.List<EquivalentAddressGroup>
LoadBalancer.ResolvedAddresses. getAddresses()
Gets the server addresses.List<EquivalentAddressGroup>
NameResolver.ResolutionResult. getAddresses()
Deprecated.Will be superseded by getAddressesOrErrorStatusOr<List<EquivalentAddressGroup>>
NameResolver.ResolutionResult. getAddressesOrError()
Gets the addresses resolved by name resolution or the error in doing so.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 ManagedChannel
LoadBalancer.Helper. createOobChannel(EquivalentAddressGroup eag, String authority)
Out-of-band channel for LoadBalancer’s own RPC needs, e.g., talking to an external load-balancer service.LoadBalancer.CreateSubchannelArgs.Builder
LoadBalancer.CreateSubchannelArgs.Builder. setAddresses(EquivalentAddressGroup addrs)
The addresses to connect to.void
LoadBalancer.Helper. updateOobChannelAddresses(ManagedChannel channel, EquivalentAddressGroup eag)
Updates the addresses used for connections in theChannel
that was created byLoadBalancer.Helper.createOobChannel(EquivalentAddressGroup, String)
.Method parameters in io.grpc with type arguments of type EquivalentAddressGroup Modifier and Type Method Description ManagedChannel
LoadBalancer.Helper. createOobChannel(List<EquivalentAddressGroup> eag, String authority)
Accept a list of EAG for multiple authorities: https://github.com/grpc/grpc-java/issues/4618void
NameResolver.Listener. onAddresses(List<EquivalentAddressGroup> servers, Attributes attributes)
Handles updates on resolved addresses and attributes.void
NameResolver.Listener2. onAddresses(List<EquivalentAddressGroup> servers, Attributes attributes)
Deprecated.This will be removed in 1.22.0LoadBalancer.CreateSubchannelArgs.Builder
LoadBalancer.CreateSubchannelArgs.Builder. setAddresses(List<EquivalentAddressGroup> addrs)
The addresses to connect to.LoadBalancer.ResolvedAddresses.Builder
LoadBalancer.ResolvedAddresses.Builder. setAddresses(List<EquivalentAddressGroup> addresses)
Sets the addresses.NameResolver.ResolutionResult.Builder
NameResolver.ResolutionResult.Builder. setAddresses(List<EquivalentAddressGroup> addresses)
Deprecated.Will be superseded by setAddressesOrErrorNameResolver.ResolutionResult.Builder
NameResolver.ResolutionResult.Builder. setAddressesOrError(StatusOr<List<EquivalentAddressGroup>> addresses)
Sets the addresses resolved by name resolution or the error in doing so.void
LoadBalancer.Subchannel. updateAddresses(List<EquivalentAddressGroup> addrs)
Replaces the existing addresses used with thisSubchannel
.void
LoadBalancer.Helper. updateOobChannelAddresses(ManagedChannel channel, List<EquivalentAddressGroup> eag)
Updates the addresses with a new EAG list. -
Uses of EquivalentAddressGroup in io.grpc.grpclb
Fields in io.grpc.grpclb with type parameters of type EquivalentAddressGroup Modifier and Type Field Description static Attributes.Key<List<EquivalentAddressGroup>>
GrpclbConstants. ATTR_LB_ADDRS
Attribute key for gRPC LB server addresses. -
Uses of EquivalentAddressGroup in io.grpc.util
Methods in io.grpc.util that return types with arguments of type EquivalentAddressGroup Modifier and Type Method Description List<EquivalentAddressGroup>
ForwardingSubchannel. getAllAddresses()
Methods in io.grpc.util with parameters of type EquivalentAddressGroup Modifier and Type Method Description ManagedChannel
ForwardingLoadBalancerHelper. createOobChannel(EquivalentAddressGroup eag, String authority)
void
ForwardingLoadBalancerHelper. updateOobChannelAddresses(ManagedChannel channel, EquivalentAddressGroup eag)
Method parameters in io.grpc.util with type arguments of type EquivalentAddressGroup Modifier and Type Method Description ManagedChannel
ForwardingLoadBalancerHelper. createOobChannel(List<EquivalentAddressGroup> eag, String authority)
void
ForwardingSubchannel. updateAddresses(List<EquivalentAddressGroup> addrs)
void
ForwardingLoadBalancerHelper. updateOobChannelAddresses(ManagedChannel channel, List<EquivalentAddressGroup> eag)
-