Uses of Class
io.grpc.EquivalentAddressGroup
-
Packages that use EquivalentAddressGroup Package Description io.grpc The gRPC core public API.io.grpc.grpclb io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.rls io.grpc.util 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 EquivalentAddressGroup Modifier and Type Field Description private java.util.List<EquivalentAddressGroup>
LoadBalancer.ResolvedAddresses. addresses
private java.util.List<EquivalentAddressGroup>
LoadBalancer.ResolvedAddresses.Builder. addresses
private StatusOr<java.util.List<EquivalentAddressGroup>>
NameResolver.ResolutionResult.Builder. addresses
private StatusOr<java.util.List<EquivalentAddressGroup>>
NameResolver.ResolutionResult. addressesOrError
private java.util.List<EquivalentAddressGroup>
LoadBalancer.CreateSubchannelArgs. addrs
private java.util.List<EquivalentAddressGroup>
LoadBalancer.CreateSubchannelArgs.Builder. addrs
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 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()
Deprecated.Will be superseded by getAddressesOrErrorStatusOr<java.util.List<EquivalentAddressGroup>>
NameResolver.ResolutionResult. getAddressesOrError()
Gets the addresses resolved by name resolution or the error in doing so.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 ManagedChannel
LoadBalancer.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.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(java.util.List<EquivalentAddressGroup> eag, java.lang.String authority)
Accept a list of EAG for multiple authorities: https://github.com/grpc/grpc-java/issues/4618void
NameResolver.Listener. onAddresses(java.util.List<EquivalentAddressGroup> servers, Attributes attributes)
Handles updates on resolved addresses and attributes.void
NameResolver.Listener2. onAddresses(java.util.List<EquivalentAddressGroup> servers, Attributes attributes)
Deprecated.This will be removed in 1.22.0LoadBalancer.CreateSubchannelArgs.Builder
LoadBalancer.CreateSubchannelArgs.Builder. setAddresses(java.util.List<EquivalentAddressGroup> addrs)
The addresses to connect to.LoadBalancer.ResolvedAddresses.Builder
LoadBalancer.ResolvedAddresses.Builder. setAddresses(java.util.List<EquivalentAddressGroup> addresses)
Sets the addresses.NameResolver.ResolutionResult.Builder
NameResolver.ResolutionResult.Builder. setAddresses(java.util.List<EquivalentAddressGroup> addresses)
Deprecated.Will be superseded by setAddressesOrErrorNameResolver.ResolutionResult.Builder
NameResolver.ResolutionResult.Builder. setAddressesOrError(StatusOr<java.util.List<EquivalentAddressGroup>> addresses)
Sets the addresses resolved by name resolution or the error in doing so.void
LoadBalancer.Subchannel. updateAddresses(java.util.List<EquivalentAddressGroup> addrs)
Replaces the existing addresses used with thisSubchannel
.void
LoadBalancer.Helper. updateOobChannelAddresses(ManagedChannel channel, java.util.List<EquivalentAddressGroup> eag)
Updates the addresses with a new EAG list.Constructor parameters in io.grpc with type arguments of type EquivalentAddressGroup Constructor Description CreateSubchannelArgs(java.util.List<EquivalentAddressGroup> addrs, Attributes attrs, java.lang.Object[][] customOptions)
ResolutionResult(StatusOr<java.util.List<EquivalentAddressGroup>> addressesOrError, Attributes attributes, NameResolver.ConfigOrError serviceConfig)
ResolvedAddresses(java.util.List<EquivalentAddressGroup> addresses, Attributes attributes, java.lang.Object loadBalancingPolicyConfig)
-
Uses of EquivalentAddressGroup in io.grpc.grpclb
Fields in io.grpc.grpclb declared as EquivalentAddressGroup Modifier and Type Field Description private EquivalentAddressGroup
BackendAddressGroup. addresses
Fields in io.grpc.grpclb with type parameters of type EquivalentAddressGroup Modifier and Type Field Description static Attributes.Key<java.util.List<EquivalentAddressGroup>>
GrpclbConstants. ATTR_LB_ADDRS
Attribute key for gRPC LB server addresses.static Attributes.Key<java.util.List<EquivalentAddressGroup>>
InternalGrpclbConstantsAccessor. ATTR_LB_ADDRS
private java.util.HashMap<EquivalentAddressGroup,CachedSubchannelPool.CacheEntry>
CachedSubchannelPool. cache
private java.util.List<EquivalentAddressGroup>
GrpclbState. fallbackBackendList
private java.util.Map<java.util.List<EquivalentAddressGroup>,LoadBalancer.Subchannel>
GrpclbState. subchannels
Methods in io.grpc.grpclb that return EquivalentAddressGroup Modifier and Type Method Description (package private) EquivalentAddressGroup
BackendAddressGroup. getAddresses()
Methods in io.grpc.grpclb that return types with arguments of type EquivalentAddressGroup Modifier and Type Method Description private java.util.List<EquivalentAddressGroup>
GrpclbNameResolver. resolveBalancerAddresses()
Methods in io.grpc.grpclb with parameters of type EquivalentAddressGroup Modifier and Type Method Description LoadBalancer.Subchannel
CachedSubchannelPool. takeOrCreateSubchannel(EquivalentAddressGroup eag, Attributes defaultAttributes)
LoadBalancer.Subchannel
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 EquivalentAddressGroup Modifier and Type Method Description (package private) void
GrpclbState. handleAddresses(java.util.List<EquivalentAddressGroup> newLbAddressGroups, java.util.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(java.util.List<EquivalentAddressGroup> overrideAuthorityEags)
Constructors in io.grpc.grpclb with parameters of type EquivalentAddressGroup Constructor Description BackendAddressGroup(EquivalentAddressGroup addresses, java.lang.String token)
-
Uses of EquivalentAddressGroup in io.grpc.internal
Fields in io.grpc.internal with type parameters of type EquivalentAddressGroup Modifier and Type Field Description private java.util.List<EquivalentAddressGroup>
DnsNameResolver.InternalResolutionResult. addresses
private java.util.List<EquivalentAddressGroup>
InternalSubchannel. addressGroups
A volatile accessor toInternalSubchannel.getAddressGroups()
.private java.util.List<EquivalentAddressGroup>
InternalSubchannel.Index. addressGroups
(package private) java.util.List<EquivalentAddressGroup>
ManagedChannelImpl.SubchannelImpl. addressGroups
private java.util.List<EquivalentAddressGroup>
PickFirstLeafLoadBalancer.Index. addressGroups
Methods in io.grpc.internal that return EquivalentAddressGroup Modifier and Type Method Description private EquivalentAddressGroup
DnsNameResolver. detectProxy()
Methods in io.grpc.internal that return types with arguments of type EquivalentAddressGroup Modifier and Type Method Description private static java.util.List<EquivalentAddressGroup>
PickFirstLeafLoadBalancer. deDupAddresses(java.util.List<EquivalentAddressGroup> groups)
(package private) java.util.List<EquivalentAddressGroup>
InternalSubchannel. getAddressGroups()
java.util.List<EquivalentAddressGroup>
ManagedChannelImpl.SubchannelImpl. getAllAddresses()
java.util.List<EquivalentAddressGroup>
PickFirstLeafLoadBalancer.Index. getCurrentEagAsList()
java.util.List<EquivalentAddressGroup>
InternalSubchannel.Index. getGroups()
private java.util.List<EquivalentAddressGroup>
DnsNameResolver. resolveAddresses()
private java.util.List<EquivalentAddressGroup>
ManagedChannelImpl.SubchannelImpl. stripOverrideAuthorityAttributes(java.util.List<EquivalentAddressGroup> eags)
Methods in io.grpc.internal with parameters of type EquivalentAddressGroup Modifier and Type Method Description ManagedChannel
ManagedChannelImpl.LbHelperImpl. createOobChannel(EquivalentAddressGroup addressGroup, java.lang.String authority)
void
ManagedChannelImpl.LbHelperImpl. updateOobChannelAddresses(ManagedChannel channel, EquivalentAddressGroup eag)
Method parameters in io.grpc.internal with type arguments of type EquivalentAddressGroup Modifier and Type Method Description ManagedChannel
ManagedChannelImpl.LbHelperImpl. createOobChannel(java.util.List<EquivalentAddressGroup> addressGroup, java.lang.String authority)
private static java.util.List<EquivalentAddressGroup>
PickFirstLeafLoadBalancer. deDupAddresses(java.util.List<EquivalentAddressGroup> groups)
private java.util.List<EquivalentAddressGroup>
ManagedChannelImpl.SubchannelImpl. stripOverrideAuthorityAttributes(java.util.List<EquivalentAddressGroup> eags)
void
InternalSubchannel. updateAddresses(java.util.List<EquivalentAddressGroup> newAddressGroups)
Replaces the existing addresses, avoiding unnecessary reconnects.void
ManagedChannelImpl.SubchannelImpl. updateAddresses(java.util.List<EquivalentAddressGroup> addrs)
(package private) void
OobChannel. updateAddresses(java.util.List<EquivalentAddressGroup> eag)
void
InternalSubchannel.Index. updateGroups(java.util.List<EquivalentAddressGroup> newGroups)
Update to new groups, resetting the current index.void
PickFirstLeafLoadBalancer.Index. updateGroups(java.util.List<EquivalentAddressGroup> newGroups)
Update to new groups, resetting the current index.void
ManagedChannelImpl.LbHelperImpl. updateOobChannelAddresses(ManagedChannel channel, java.util.List<EquivalentAddressGroup> eag)
Constructor parameters in io.grpc.internal with type arguments of type EquivalentAddressGroup Constructor Description Index(java.util.List<EquivalentAddressGroup> groups)
Index(java.util.List<EquivalentAddressGroup> groups)
-
Uses of EquivalentAddressGroup in io.grpc.rls
Fields in io.grpc.rls with type parameters of type EquivalentAddressGroup Modifier and Type Field Description private java.util.List<EquivalentAddressGroup>
ChildLbResolvedAddressFactory. addresses
Constructor parameters in io.grpc.rls with type arguments of type EquivalentAddressGroup Constructor Description ChildLbResolvedAddressFactory(java.util.List<EquivalentAddressGroup> addresses, Attributes attributes)
-
Uses of EquivalentAddressGroup in io.grpc.util
Methods in io.grpc.util that return EquivalentAddressGroup Modifier and Type Method Description EquivalentAddressGroup
MultiChildLoadBalancer.ChildLbState. getEag()
Methods in io.grpc.util that return types with arguments of type EquivalentAddressGroup Modifier and Type Method Description java.util.List<EquivalentAddressGroup>
ForwardingSubchannel. getAllAddresses()
Methods in io.grpc.util with parameters of type EquivalentAddressGroup Modifier and Type Method Description ManagedChannel
ForwardingLoadBalancerHelper. createOobChannel(EquivalentAddressGroup eag, java.lang.String authority)
MultiChildLoadBalancer.ChildLbState
MultiChildLoadBalancer. getChildLbStateEag(EquivalentAddressGroup eag)
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(java.util.List<EquivalentAddressGroup> eag, java.lang.String authority)
private static boolean
OutlierDetectionLoadBalancer. hasSingleAddress(java.util.List<EquivalentAddressGroup> addressGroups)
Counts how many addresses are in a given address group.void
ForwardingSubchannel. updateAddresses(java.util.List<EquivalentAddressGroup> addrs)
void
OutlierDetectionLoadBalancer.OutlierDetectionSubchannel. updateAddresses(java.util.List<EquivalentAddressGroup> addressGroups)
void
ForwardingLoadBalancerHelper. updateOobChannelAddresses(ManagedChannel channel, java.util.List<EquivalentAddressGroup> eag)
Constructors in io.grpc.util with parameters of type EquivalentAddressGroup Constructor Description Endpoint(EquivalentAddressGroup eag)
-