Searched refs:locality_name (Results 1 – 5 of 5) sorted by relevance
33 explicit XdsLocalityAttribute(RefCountedPtr<XdsLocalityName> locality_name) in XdsLocalityAttribute() argument34 : locality_name_(std::move(locality_name)) {} in XdsLocalityAttribute()36 RefCountedPtr<XdsLocalityName> locality_name() const { in locality_name() function
745 XdsLocalityName* locality_name = p.first; in UpdatePriorityList() local746 locality_child_map[locality_name] = child_number; in UpdatePriorityList()747 child_locality_map[child_number].insert(locality_name); in UpdatePriorityList()758 XdsLocalityName* locality_name = p.first; in UpdatePriorityList() local760 auto it = locality_child_map.find(locality_name); in UpdatePriorityList()776 locality_child_map.erase(locality_name); in UpdatePriorityList()805 const auto& locality_name = p.first; in CreateChildPolicyAddressesLocked() local808 priority_child_name, locality_name->AsHumanReadableString()}; in CreateChildPolicyAddressesLocked()816 locality_name->Ref()))); in CreateChildPolicyAddressesLocked()848 XdsLocalityName* locality_name = p.first; in CreateChildPolicyConfigLocked() local[all …]
549 RefCountedPtr<XdsLocalityName> locality_name; in CreateSubchannel() local554 locality_name = locality_attr->locality_name(); in CreateSubchannel()562 std::move(locality_name)); in CreateSubchannel()
2160 const XdsLocalityName& locality_name, in LocalityStatsPopulate() argument2166 if (!locality_name.region().empty()) { in LocalityStatsPopulate()2168 locality, StdStringToUpbString(locality_name.region())); in LocalityStatsPopulate()2170 if (!locality_name.zone().empty()) { in LocalityStatsPopulate()2172 locality, StdStringToUpbString(locality_name.zone())); in LocalityStatsPopulate()2174 if (!locality_name.sub_zone().empty()) { in LocalityStatsPopulate()2176 locality, StdStringToUpbString(locality_name.sub_zone())); in LocalityStatsPopulate()2229 const XdsLocalityName& locality_name = *p.first; in CreateLrsRequest() local2234 LocalityStatsPopulate(locality_stats, locality_name, snapshot, in CreateLrsRequest()
2156 const RefCountedPtr<XdsLocalityName>& locality_name = it->first; in BuildLoadReportSnapshotLocked() local2159 snapshot.locality_stats[locality_name]; in BuildLoadReportSnapshotLocked()2169 locality_name->AsHumanReadableString().c_str(), in BuildLoadReportSnapshotLocked()