Home
last modified time | relevance | path

Searched refs:XdsLocalityName (Results 1 – 17 of 17) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/xds/
Dxds_client_stats.h43 class XdsLocalityName : public RefCounted<XdsLocalityName> {
46 bool operator()(const XdsLocalityName* lhs, in operator()
47 const XdsLocalityName* rhs) const { in operator()
51 bool operator()(const RefCountedPtr<XdsLocalityName>& lhs, in operator()
52 const RefCountedPtr<XdsLocalityName>& rhs) const { in operator()
57 XdsLocalityName(std::string region, std::string zone, std::string subzone) in XdsLocalityName() function
62 bool operator==(const XdsLocalityName& other) const {
67 bool operator!=(const XdsLocalityName& other) const {
71 int Compare(const XdsLocalityName& other) const { in Compare()
180 RefCountedPtr<XdsLocalityName> name);
[all …]
Dxds_api.h190 return XdsLocalityName::Less()(lhs.name, rhs.name); in operator()
194 RefCountedPtr<XdsLocalityName> name;
200 bool Contains(const RefCountedPtr<XdsLocalityName>& name) const { in Contains()
206 std::map<RefCountedPtr<XdsLocalityName>, Locality, XdsLocalityName::Less>
222 bool Contains(const RefCountedPtr<XdsLocalityName>& name);
288 std::map<RefCountedPtr<XdsLocalityName>, XdsClusterLocalityStats::Snapshot,
289 XdsLocalityName::Less>
Dxds_client.h131 RefCountedPtr<XdsLocalityName> locality);
135 const RefCountedPtr<XdsLocalityName>& locality,
228 std::map<RefCountedPtr<XdsLocalityName>, LocalityState,
229 XdsLocalityName::Less>
Dxds_client_stats.cc69 RefCountedPtr<XdsLocalityName> name) in XdsClusterLocalityStats()
Dxds_api.cc101 const RefCountedPtr<XdsLocalityName>& name) { in Contains()
1620 output_locality->name = MakeRefCounted<XdsLocalityName>( in LocalityParse()
1960 const XdsLocalityName& locality_name, in LocalityStatsPopulate()
2032 const XdsLocalityName& locality_name = *p.first; in CreateLrsRequest()
Dxds_client.cc1955 RefCountedPtr<XdsLocalityName> locality) { in AddClusterLocalityStats()
1979 const RefCountedPtr<XdsLocalityName>& locality, in RemoveClusterLocalityStats()
2350 const RefCountedPtr<XdsLocalityName>& locality_name = it->first; in BuildLoadReportSnapshot()
/third_party/grpc/src/core/ext/xds/
Dxds_client_stats.h44 class XdsLocalityName : public RefCounted<XdsLocalityName> {
47 bool operator()(const XdsLocalityName* lhs, in operator()
48 const XdsLocalityName* rhs) const { in operator()
53 bool operator()(const RefCountedPtr<XdsLocalityName>& lhs, in operator()
54 const RefCountedPtr<XdsLocalityName>& rhs) const { in operator()
59 XdsLocalityName(std::string region, std::string zone, std::string subzone) in XdsLocalityName() function
64 bool operator==(const XdsLocalityName& other) const {
69 bool operator!=(const XdsLocalityName& other) const {
73 int Compare(const XdsLocalityName& other) const { in Compare()
208 RefCountedPtr<XdsLocalityName> name);
[all …]
Dxds_api.h277 RefCountedPtr<XdsLocalityName> name;
291 std::map<XdsLocalityName*, Locality, XdsLocalityName::Less> localities;
360 std::map<RefCountedPtr<XdsLocalityName>, XdsClusterLocalityStats::Snapshot,
361 XdsLocalityName::Less>
Dxds_client.h178 RefCountedPtr<XdsLocalityName> locality);
182 const RefCountedPtr<XdsLocalityName>& locality,
284 std::map<RefCountedPtr<XdsLocalityName>, LocalityState,
285 XdsLocalityName::Less>
Dxds_client_stats.cc100 RefCountedPtr<XdsLocalityName> name) in XdsClusterLocalityStats()
Dxds_client.cc2021 RefCountedPtr<XdsLocalityName> locality) { in AddClusterLocalityStats()
2058 const RefCountedPtr<XdsLocalityName>& locality, in RemoveClusterLocalityStats()
2150 const RefCountedPtr<XdsLocalityName>& locality_name = it->first; in BuildLoadReportSnapshotLocked()
Dxds_api.cc2013 output_locality->name = MakeRefCounted<XdsLocalityName>( in LocalityParse()
2331 const XdsLocalityName& locality_name, in LocalityStatsPopulate()
2400 const XdsLocalityName& locality_name = *p.first; in CreateLrsRequest()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds.h33 explicit XdsLocalityAttribute(RefCountedPtr<XdsLocalityName> locality_name) in XdsLocalityAttribute()
36 RefCountedPtr<XdsLocalityName> locality_name() const { in locality_name()
55 RefCountedPtr<XdsLocalityName> locality_name_;
Dlrs.cc46 RefCountedPtr<XdsLocalityName> locality_name) in LrsLbConfig()
64 RefCountedPtr<XdsLocalityName> locality_name() const { in locality_name()
73 RefCountedPtr<XdsLocalityName> locality_name_;
428 RefCountedPtr<XdsLocalityName> locality_name; in ParseLoadBalancingConfig()
466 const Json& json, RefCountedPtr<XdsLocalityName>* name) { in ParseLocality()
508 *name = MakeRefCounted<XdsLocalityName>(region, zone, subzone); in ParseLocality()
Deds.cc509 std::map<XdsLocalityName*, size_t /*child_number*/, XdsLocalityName::Less> in UpdatePriorityList()
511 std::map<size_t, std::set<XdsLocalityName*>> child_locality_map; in UpdatePriorityList()
518 XdsLocalityName* locality_name = p.first.get(); in UpdatePriorityList()
533 XdsLocalityName* locality_name = p.first.get(); in UpdatePriorityList()
542 for (XdsLocalityName* old_locality : in UpdatePriorityList()
608 XdsLocalityName* locality_name = p.first.get(); in CreateChildPolicyConfigLocked()
Dxds_cluster_resolver.cc533 locality.name = MakeRefCounted<XdsLocalityName>("", "", ""); in ReturnResult()
773 std::map<XdsLocalityName*, size_t /*child_number*/, XdsLocalityName::Less> in UpdatePriorityList()
775 std::map<size_t, std::set<XdsLocalityName*>> child_locality_map; in UpdatePriorityList()
780 XdsLocalityName* locality_name = p.first; in UpdatePriorityList()
793 XdsLocalityName* locality_name = p.first; in UpdatePriorityList()
802 for (XdsLocalityName* old_locality : in UpdatePriorityList()
886 XdsLocalityName* locality_name = p.first; in CreateChildPolicyConfigLocked()
Dxds_cluster_impl.cc547 RefCountedPtr<XdsLocalityName> locality_name; in CreateSubchannel()