Home
last modified time | relevance | path

Searched refs:LoadRecordKey (Results 1 – 4 of 4) sorted by relevance

/external/grpc-grpc/src/cpp/server/load_reporter/
Dload_data_store.h68 class LoadRecordKey {
70 LoadRecordKey(grpc::string lb_id, grpc::string lb_tag, grpc::string user_id, in LoadRecordKey() function
78 LoadRecordKey(const grpc::string& client_ip_and_token, grpc::string user_id);
86 bool operator==(const LoadRecordKey& other) const {
106 size_t operator()(const LoadRecordKey& k) const { in operator()
198 std::unordered_map<LoadRecordKey, LoadRecordValue, LoadRecordKey::Hasher>;
205 void MergeRow(const LoadRecordKey& key, const LoadRecordValue& value);
316 void MergeRow(const grpc::string& hostname, const LoadRecordKey& key,
Dload_data_store.cc80 LoadRecordKey::LoadRecordKey(const grpc::string& client_ip_and_token, in LoadRecordKey() function in grpc::load_reporter::LoadRecordKey
101 grpc::string LoadRecordKey::GetClientIpBytes() const { in GetClientIpBytes()
141 void PerBalancerStore::MergeRow(const LoadRecordKey& key, in MergeRow()
288 const LoadRecordKey& key, in MergeRow()
Dload_reporter.cc407 LoadRecordKey key(client_ip_and_token, user_id); in ProcessViewDataCallStart()
439 LoadRecordKey key(client_ip_and_token, user_id); in ProcessViewDataCallEnd()
481 LoadRecordKey key(client_ip_and_token, user_id); in ProcessViewDataOtherCallMetrics()
/external/grpc-grpc/test/cpp/server/load_reporter/
Dload_data_store_test.cc37 using ::grpc::load_reporter::LoadRecordKey;
88 const LoadRecordKey kKey1;
89 const LoadRecordKey kKey2;
314 kHostname1, LoadRecordKey(kLbId2, kLbTag1, kUser1, kClientIp1), v2); in TEST_F()
318 kHostname2, LoadRecordKey(kLbId3, kLbTag1, kUser1, kClientIp1), v3); in TEST_F()
342 kHostname1, LoadRecordKey(kLbId2, kLbTag1, kUser1, kClientIp1), v5); in TEST_F()
347 kHostname2, LoadRecordKey(kLbId3, kLbTag1, kUser1, kClientIp1), v6); in TEST_F()