Uses of Class
io.grpc.EquivalentAddressGroup
Packages that use EquivalentAddressGroup
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
Utilities with advanced features in the core layer that user can optionally use.
-
Uses of EquivalentAddressGroup in io.grpc
Fields in io.grpc with type parameters of type EquivalentAddressGroupModifier and TypeFieldDescriptionprivate final List
<EquivalentAddressGroup> LoadBalancer.ResolvedAddresses.addresses
private List
<EquivalentAddressGroup> LoadBalancer.ResolvedAddresses.Builder.addresses
private StatusOr
<List<EquivalentAddressGroup>> NameResolver.ResolutionResult.Builder.addresses
private final StatusOr
<List<EquivalentAddressGroup>> NameResolver.ResolutionResult.addressesOrError
private final List
<EquivalentAddressGroup> LoadBalancer.CreateSubchannelArgs.addrs
private List
<EquivalentAddressGroup> LoadBalancer.CreateSubchannelArgs.Builder.addrs
Methods in io.grpc that return EquivalentAddressGroupModifier and TypeMethodDescriptionfinal EquivalentAddressGroup
LoadBalancer.Subchannel.getAddresses()
Returns the addresses that this Subchannel is bound to.Methods in io.grpc that return types with arguments of type EquivalentAddressGroupModifier and TypeMethodDescriptionLoadBalancer.CreateSubchannelArgs.getAddresses()
Returns the addresses, which is an unmodifiable list.LoadBalancer.ResolvedAddresses.getAddresses()
Gets the server addresses.NameResolver.ResolutionResult.getAddresses()
Deprecated.Will be superseded by getAddressesOrErrorNameResolver.ResolutionResult.getAddressesOrError()
Gets the addresses resolved by name resolution or the error in doing so.LoadBalancer.Subchannel.getAllAddresses()
Returns the addresses that this Subchannel is bound to.Methods in io.grpc with parameters of type EquivalentAddressGroupModifier and TypeMethodDescriptionabstract 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.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 EquivalentAddressGroupModifier and TypeMethodDescriptionLoadBalancer.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.final void
NameResolver.Listener2.onAddresses
(List<EquivalentAddressGroup> servers, Attributes attributes) Deprecated.This will be removed in 1.22.0LoadBalancer.CreateSubchannelArgs.Builder.setAddresses
(List<EquivalentAddressGroup> addrs) The addresses to connect to.LoadBalancer.ResolvedAddresses.Builder.setAddresses
(List<EquivalentAddressGroup> addresses) Sets the addresses.NameResolver.ResolutionResult.Builder.setAddresses
(List<EquivalentAddressGroup> addresses) Deprecated.Will be superseded by setAddressesOrErrorNameResolver.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.Constructor parameters in io.grpc with type arguments of type EquivalentAddressGroupModifierConstructorDescriptionprivate
CreateSubchannelArgs
(List<EquivalentAddressGroup> addrs, Attributes attrs, Object[][] customOptions) (package private)
ResolutionResult
(StatusOr<List<EquivalentAddressGroup>> addressesOrError, Attributes attributes, NameResolver.ConfigOrError serviceConfig) private
ResolvedAddresses
(List<EquivalentAddressGroup> addresses, Attributes attributes, Object loadBalancingPolicyConfig) -
Uses of EquivalentAddressGroup in io.grpc.grpclb
Fields in io.grpc.grpclb declared as EquivalentAddressGroupModifier and TypeFieldDescriptionprivate final EquivalentAddressGroup
BackendAddressGroup.addresses
Fields in io.grpc.grpclb with type parameters of type EquivalentAddressGroupModifier and TypeFieldDescriptionstatic final Attributes.Key
<List<EquivalentAddressGroup>> GrpclbConstants.ATTR_LB_ADDRS
Attribute key for gRPC LB server addresses.static final Attributes.Key
<List<EquivalentAddressGroup>> InternalGrpclbConstantsAccessor.ATTR_LB_ADDRS
private final HashMap
<EquivalentAddressGroup, CachedSubchannelPool.CacheEntry> CachedSubchannelPool.cache
private List
<EquivalentAddressGroup> GrpclbState.fallbackBackendList
private Map
<List<EquivalentAddressGroup>, LoadBalancer.Subchannel> GrpclbState.subchannels
Methods in io.grpc.grpclb that return EquivalentAddressGroupModifier and TypeMethodDescription(package private) EquivalentAddressGroup
BackendAddressGroup.getAddresses()
Methods in io.grpc.grpclb that return types with arguments of type EquivalentAddressGroupModifier and TypeMethodDescriptionprivate List
<EquivalentAddressGroup> GrpclbNameResolver.resolveBalancerAddresses()
Methods in io.grpc.grpclb with parameters of type EquivalentAddressGroupModifier and TypeMethodDescriptionCachedSubchannelPool.takeOrCreateSubchannel
(EquivalentAddressGroup eag, Attributes defaultAttributes) SubchannelPool.takeOrCreateSubchannel
(EquivalentAddressGroup eag, Attributes defaultAttributes) Takes aLoadBalancer.Subchannel
from the pool for the giveneag
if there is one available.Method parameters in io.grpc.grpclb with type arguments of type EquivalentAddressGroupModifier and TypeMethodDescription(package private) void
GrpclbState.handleAddresses
(List<EquivalentAddressGroup> newLbAddressGroups, List<EquivalentAddressGroup> newBackendServers) Handle new addresses of the balancer and backends from the resolver, and create connection if not yet connected.private void
GrpclbState.startLbComm
(List<EquivalentAddressGroup> overrideAuthorityEags) Constructors in io.grpc.grpclb with parameters of type EquivalentAddressGroupModifierConstructorDescription(package private)
BackendAddressGroup
(EquivalentAddressGroup addresses, String token) -
Uses of EquivalentAddressGroup in io.grpc.internal
Fields in io.grpc.internal with type parameters of type EquivalentAddressGroupModifier and TypeFieldDescriptionprivate List
<EquivalentAddressGroup> DnsNameResolver.InternalResolutionResult.addresses
private List
<EquivalentAddressGroup> InternalSubchannel.addressGroups
A volatile accessor toInternalSubchannel.getAddressGroups()
.private List
<EquivalentAddressGroup> InternalSubchannel.Index.addressGroups
(package private) List
<EquivalentAddressGroup> ManagedChannelImpl.SubchannelImpl.addressGroups
private List
<EquivalentAddressGroup> PickFirstLeafLoadBalancer.Index.addressGroups
Methods in io.grpc.internal that return EquivalentAddressGroupMethods in io.grpc.internal that return types with arguments of type EquivalentAddressGroupModifier and TypeMethodDescriptionprivate static List
<EquivalentAddressGroup> PickFirstLeafLoadBalancer.deDupAddresses
(List<EquivalentAddressGroup> groups) (package private) List
<EquivalentAddressGroup> InternalSubchannel.getAddressGroups()
ManagedChannelImpl.SubchannelImpl.getAllAddresses()
PickFirstLeafLoadBalancer.Index.getCurrentEagAsList()
InternalSubchannel.Index.getGroups()
private List
<EquivalentAddressGroup> DnsNameResolver.resolveAddresses()
private List
<EquivalentAddressGroup> ManagedChannelImpl.SubchannelImpl.stripOverrideAuthorityAttributes
(List<EquivalentAddressGroup> eags) Methods in io.grpc.internal with parameters of type EquivalentAddressGroupModifier and TypeMethodDescriptionManagedChannelImpl.LbHelperImpl.createOobChannel
(EquivalentAddressGroup addressGroup, String authority) void
ManagedChannelImpl.LbHelperImpl.updateOobChannelAddresses
(ManagedChannel channel, EquivalentAddressGroup eag) Method parameters in io.grpc.internal with type arguments of type EquivalentAddressGroupModifier and TypeMethodDescriptionManagedChannelImpl.LbHelperImpl.createOobChannel
(List<EquivalentAddressGroup> addressGroup, String authority) private static List
<EquivalentAddressGroup> PickFirstLeafLoadBalancer.deDupAddresses
(List<EquivalentAddressGroup> groups) private List
<EquivalentAddressGroup> ManagedChannelImpl.SubchannelImpl.stripOverrideAuthorityAttributes
(List<EquivalentAddressGroup> eags) void
InternalSubchannel.updateAddresses
(List<EquivalentAddressGroup> newAddressGroups) Replaces the existing addresses, avoiding unnecessary reconnects.void
ManagedChannelImpl.SubchannelImpl.updateAddresses
(List<EquivalentAddressGroup> addrs) (package private) void
OobChannel.updateAddresses
(List<EquivalentAddressGroup> eag) void
InternalSubchannel.Index.updateGroups
(List<EquivalentAddressGroup> newGroups) Update to new groups, resetting the current index.void
PickFirstLeafLoadBalancer.Index.updateGroups
(List<EquivalentAddressGroup> newGroups) Update to new groups, resetting the current index.void
ManagedChannelImpl.LbHelperImpl.updateOobChannelAddresses
(ManagedChannel channel, List<EquivalentAddressGroup> eag) Constructor parameters in io.grpc.internal with type arguments of type EquivalentAddressGroupModifierConstructorDescriptionIndex
(List<EquivalentAddressGroup> groups) Index
(List<EquivalentAddressGroup> groups) -
Uses of EquivalentAddressGroup in io.grpc.rls
Fields in io.grpc.rls with type parameters of type EquivalentAddressGroupModifier and TypeFieldDescriptionprivate final List
<EquivalentAddressGroup> ChildLbResolvedAddressFactory.addresses
Constructor parameters in io.grpc.rls with type arguments of type EquivalentAddressGroupModifierConstructorDescription(package private)
ChildLbResolvedAddressFactory
(List<EquivalentAddressGroup> addresses, Attributes attributes) -
Uses of EquivalentAddressGroup in io.grpc.util
Methods in io.grpc.util that return EquivalentAddressGroupModifier and TypeMethodDescriptionfinal EquivalentAddressGroup
MultiChildLoadBalancer.ChildLbState.getEag()
Methods in io.grpc.util that return types with arguments of type EquivalentAddressGroupMethods in io.grpc.util with parameters of type EquivalentAddressGroupModifier and TypeMethodDescriptionForwardingLoadBalancerHelper.createOobChannel
(EquivalentAddressGroup eag, String authority) MultiChildLoadBalancer.getChildLbStateEag
(EquivalentAddressGroup eag) void
ForwardingLoadBalancerHelper.updateOobChannelAddresses
(ManagedChannel channel, EquivalentAddressGroup eag) Method parameters in io.grpc.util with type arguments of type EquivalentAddressGroupModifier and TypeMethodDescriptionForwardingLoadBalancerHelper.createOobChannel
(List<EquivalentAddressGroup> eag, String authority) private static boolean
OutlierDetectionLoadBalancer.hasSingleAddress
(List<EquivalentAddressGroup> addressGroups) Counts how many addresses are in a given address group.void
ForwardingSubchannel.updateAddresses
(List<EquivalentAddressGroup> addrs) void
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel.updateAddresses
(List<EquivalentAddressGroup> addressGroups) void
ForwardingLoadBalancerHelper.updateOobChannelAddresses
(ManagedChannel channel, List<EquivalentAddressGroup> eag) Constructors in io.grpc.util with parameters of type EquivalentAddressGroup