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

#include <load_data_store.h>

Public Member Functions

PerBalancerStoreFindPerBalancerStore (const std::string &lb_id) const
 
const std::set< PerBalancerStore * > * GetAssignedStores (const std::string &lb_id) const
 
void ReportStreamClosed (const std::string &lb_id)
 
void ReportStreamCreated (const std::string &lb_id, const std::string &load_key)
 

Private Member Functions

void AssignOrphanedStore (PerBalancerStore *orphaned_store, const std::string &new_receiver)
 
void SetUpForNewLbId (const std::string &lb_id, const std::string &load_key)
 

Private Attributes

std::unordered_map< std::string, std::set< PerBalancerStore * > > assigned_stores_
 
std::unordered_map< std::string, std::set< std::string > > load_key_to_receiving_lb_ids_
 
std::unordered_map< std::string, std::unique_ptr< PerBalancerStore > > per_balancer_stores_
 

Detailed Description

Definition at line 245 of file load_data_store.h.

Member Function Documentation

◆ AssignOrphanedStore()

void grpc::load_reporter::PerHostStore::AssignOrphanedStore ( PerBalancerStore orphaned_store,
const std::string &  new_receiver 
)
private

Definition at line 257 of file load_data_store.cc.

◆ FindPerBalancerStore()

PerBalancerStore * grpc::load_reporter::PerHostStore::FindPerBalancerStore ( const std::string &  lb_id) const

Definition at line 243 of file load_data_store.cc.

◆ GetAssignedStores()

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

Definition at line 250 of file load_data_store.cc.

◆ ReportStreamClosed()

void grpc::load_reporter::PerHostStore::ReportStreamClosed ( const std::string &  lb_id)

Definition at line 212 of file load_data_store.cc.

◆ ReportStreamCreated()

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

Definition at line 186 of file load_data_store.cc.

◆ SetUpForNewLbId()

void grpc::load_reporter::PerHostStore::SetUpForNewLbId ( const std::string &  lb_id,
const std::string &  load_key 
)
private

Definition at line 269 of file load_data_store.cc.

Member Data Documentation

◆ assigned_stores_

std::unordered_map<std::string, std::set<PerBalancerStore*> > grpc::load_reporter::PerHostStore::assigned_stores_
private

Definition at line 291 of file load_data_store.h.

◆ load_key_to_receiving_lb_ids_

std::unordered_map<std::string, std::set<std::string> > grpc::load_reporter::PerHostStore::load_key_to_receiving_lb_ids_
private

Definition at line 278 of file load_data_store.h.

◆ per_balancer_stores_

std::unordered_map<std::string, std::unique_ptr<PerBalancerStore> > grpc::load_reporter::PerHostStore::per_balancer_stores_
private

Definition at line 284 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