Uses of Class
io.grpc.xds.client.Locality
Packages that use Locality
Package
Description
Library for gPRC proxyless service mesh using Envoy xDS protocol.
-
Uses of Locality in io.grpc.xds
Fields in io.grpc.xds declared as LocalityModifier and TypeFieldDescriptionprivate static final Locality
ClusterResolverLoadBalancer.LOGICAL_DNS_CLUSTER_LOCALITY
Fields in io.grpc.xds with type parameters of type LocalityModifier and TypeFieldDescription(package private) static final io.grpc.Attributes.Key
<Locality> InternalXdsAttributes.ATTR_LOCALITY
The locality that this EquivalentAddressGroup is in.(package private) final Map
<Locality, Endpoints.LocalityLbEndpoints> XdsEndpointResource.EdsUpdate.localityLbEndpointsMap
ClusterResolverLoadBalancer.ClusterResolverLbState.EdsClusterState.localityPriorityNames
Methods in io.grpc.xds that return LocalityModifier and TypeMethodDescriptionprivate static Locality
XdsEndpointResource.parseLocality
(Locality proto) Methods in io.grpc.xds with parameters of type LocalityModifier and TypeMethodDescriptionprivate static String
ClusterResolverLoadBalancer.localityName
(Locality locality) Generates a string that represents the locality in the LB policy config.Method parameters in io.grpc.xds with type arguments of type LocalityModifier and TypeMethodDescriptionClusterResolverLoadBalancer.ClusterResolverLbState.EdsClusterState.generatePriorityNames
(String name, Map<Locality, Endpoints.LocalityLbEndpoints> localityLbEndpoints) Constructor parameters in io.grpc.xds with type arguments of type LocalityModifierConstructorDescription(package private)
EdsUpdate
(String clusterName, Map<Locality, Endpoints.LocalityLbEndpoints> localityLbEndpoints, List<Endpoints.DropOverload> dropPolicies) -
Uses of Locality in io.grpc.xds.client
Subclasses of Locality in io.grpc.xds.clientFields in io.grpc.xds.client declared as LocalityModifier and TypeFieldDescriptionprivate final Locality
AutoValue_Stats_UpstreamLocalityStats.locality
private Locality
EnvoyProtoData.Node.Builder.locality
private final Locality
EnvoyProtoData.Node.locality
private final Locality
LoadStatsManager2.ClusterLocalityStats.locality
Fields in io.grpc.xds.client with type parameters of type LocalityModifier and TypeFieldDescriptionprivate final Map
<String, Map<String, Map<Locality, ReferenceCounted<LoadStatsManager2.ClusterLocalityStats>>>> LoadStatsManager2.allLoadStats
Methods in io.grpc.xds.client that return LocalityModifier and TypeMethodDescriptionstatic Locality
(package private) Locality
EnvoyProtoData.Node.getLocality()
AutoValue_Stats_UpstreamLocalityStats.locality()
abstract Locality
Stats.UpstreamLocalityStats.locality()
Methods in io.grpc.xds.client with parameters of type LocalityModifier and TypeMethodDescriptionXdsClient.addClusterLocalityStats
(Bootstrapper.ServerInfo serverInfo, String clusterName, String edsServiceName, Locality locality) Adds load stats for the specified locality (in the specified cluster with edsServiceName) by using the returned object to record RPCs.XdsClientImpl.addClusterLocalityStats
(Bootstrapper.ServerInfo serverInfo, String clusterName, String edsServiceName, Locality locality) static Stats.UpstreamLocalityStats
Stats.UpstreamLocalityStats.create
(Locality locality, long totalIssuedRequests, long totalSuccessfulRequests, long totalErrorRequests, long totalRequestsInProgress, Map<String, Stats.BackendLoadMetricStats> loadMetricStatsMap) LoadStatsManager2.getClusterLocalityStats
(String cluster, String edsServiceName, Locality locality) Gets or creates the stats object for recording loads for the specified locality (in the specified cluster with edsServiceName).private void
LoadStatsManager2.releaseClusterLocalityLoadCounter
(String cluster, String edsServiceName, Locality locality) EnvoyProtoData.Node.Builder.setLocality
(Locality locality) Constructors in io.grpc.xds.client with parameters of type LocalityModifierConstructorDescription(package private)
AutoValue_Stats_UpstreamLocalityStats
(Locality locality, long totalIssuedRequests, long totalSuccessfulRequests, long totalErrorRequests, long totalRequestsInProgress, com.google.common.collect.ImmutableMap<String, Stats.BackendLoadMetricStats> loadMetricStatsMap) private
ClusterLocalityStats
(String clusterName, String edsServiceName, Locality locality, com.google.common.base.Stopwatch stopwatch) private
Node
(String id, String cluster, Map<String, ?> metadata, Locality locality, List<EnvoyProtoData.Address> listeningAddresses, String buildVersion, String userAgentName, String userAgentVersion, List<String> clientFeatures)