Public Member Functions | Private Attributes | List of all members
grpc::load_reporter::LoadDataStore Class Reference

#include <load_data_store.h>

Public Member Functions

PerBalancerStoreFindPerBalancerStore (const std::string &hostname, const std::string &lb_id) const
 
const std::set< PerBalancerStore * > * GetAssignedStores (const string &hostname, const string &lb_id)
 
bool IsTrackedUnknownBalancerId (const std::string &lb_id) const
 
void MergeRow (const std::string &hostname, const LoadRecordKey &key, const LoadRecordValue &value)
 
void ReportStreamClosed (const std::string &hostname, const std::string &lb_id)
 
void ReportStreamCreated (const std::string &hostname, const std::string &lb_id, const std::string &load_key)
 

Private Attributes

std::unordered_map< std::string, PerHostStoreper_host_stores_
 
std::unordered_map< std::string, uint64_tunknown_balancer_id_trackers_
 

Detailed Description

Definition at line 303 of file load_data_store.h.

Member Function Documentation

◆ FindPerBalancerStore()

PerBalancerStore * grpc::load_reporter::LoadDataStore::FindPerBalancerStore ( const std::string &  hostname,
const std::string &  lb_id 
) const

Definition at line 282 of file load_data_store.cc.

◆ GetAssignedStores()

const std::set< PerBalancerStore * > * grpc::load_reporter::LoadDataStore::GetAssignedStores ( const string &  hostname,
const string &  lb_id 
)

Definition at line 323 of file load_data_store.cc.

◆ IsTrackedUnknownBalancerId()

bool grpc::load_reporter::LoadDataStore::IsTrackedUnknownBalancerId ( const std::string &  lb_id) const
inline

Definition at line 322 of file load_data_store.h.

◆ MergeRow()

void grpc::load_reporter::LoadDataStore::MergeRow ( const std::string &  hostname,
const LoadRecordKey key,
const LoadRecordValue value 
)

Definition at line 293 of file load_data_store.cc.

◆ ReportStreamClosed()

void grpc::load_reporter::LoadDataStore::ReportStreamClosed ( const std::string &  hostname,
const std::string &  lb_id 
)

Definition at line 336 of file load_data_store.cc.

◆ ReportStreamCreated()

void grpc::load_reporter::LoadDataStore::ReportStreamCreated ( const std::string &  hostname,
const std::string &  lb_id,
const std::string &  load_key 
)

Definition at line 330 of file load_data_store.cc.

Member Data Documentation

◆ per_host_stores_

std::unordered_map<std::string, PerHostStore> grpc::load_reporter::LoadDataStore::per_host_stores_
private

Definition at line 340 of file load_data_store.h.

◆ unknown_balancer_id_trackers_

std::unordered_map<std::string, uint64_t> grpc::load_reporter::LoadDataStore::unknown_balancer_id_trackers_
private

Definition at line 343 of file load_data_store.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:33