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 LocalityClusterResolverLoadBalancer.LOGICAL_DNS_CLUSTER_LOCALITYFields in io.grpc.xds with type parameters of type LocalityModifier and TypeFieldDescription(package private) static final io.grpc.Attributes.Key<Locality> InternalXdsAttributes.ATTR_LOCALITYThe locality that this EquivalentAddressGroup is in.(package private) final Map<Locality, Endpoints.LocalityLbEndpoints> XdsEndpointResource.EdsUpdate.localityLbEndpointsMapClusterResolverLoadBalancer.ClusterResolverLbState.EdsClusterState.localityPriorityNamesMethods in io.grpc.xds that return LocalityModifier and TypeMethodDescriptionprivate static LocalityXdsEndpointResource.parseLocality(Locality proto) Methods in io.grpc.xds with parameters of type LocalityModifier and TypeMethodDescriptionprivate static StringClusterResolverLoadBalancer.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 LocalityAutoValue_Stats_UpstreamLocalityStats.localityprivate LocalityEnvoyProtoData.Node.Builder.localityprivate final LocalityEnvoyProtoData.Node.localityprivate final LocalityLoadStatsManager2.ClusterLocalityStats.localityFields in io.grpc.xds.client with type parameters of type LocalityModifier and TypeFieldDescriptionprivate final Map<String, Map<String, Map<Locality, ReferenceCounted<LoadStatsManager2.ClusterLocalityStats>>>> LoadStatsManager2.allLoadStatsMethods in io.grpc.xds.client that return LocalityModifier and TypeMethodDescriptionstatic Locality(package private) LocalityEnvoyProtoData.Node.getLocality()AutoValue_Stats_UpstreamLocalityStats.locality()abstract LocalityStats.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.UpstreamLocalityStatsStats.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 voidLoadStatsManager2.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) privateClusterLocalityStats(String clusterName, String edsServiceName, Locality locality, com.google.common.base.Stopwatch stopwatch) privateNode(String id, String cluster, Map<String, ?> metadata, Locality locality, List<EnvoyProtoData.Address> listeningAddresses, String buildVersion, String userAgentName, String userAgentVersion, List<String> clientFeatures)