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

#include <load_data_store.h>

Classes

struct  Hasher
 

Public Member Functions

const std::string & client_ip_hex () const
 
std::string GetClientIpBytes () const
 
const std::string & lb_id () const
 
const std::string & lb_tag () const
 
 LoadRecordKey (const std::string &client_ip_and_token, std::string user_id)
 
 LoadRecordKey (std::string lb_id, std::string lb_tag, std::string user_id, std::string client_ip_hex)
 
bool operator== (const LoadRecordKey &other) const
 
std::string ToString () const
 
const std::string & user_id () const
 

Private Attributes

std::string client_ip_hex_
 
std::string lb_id_
 
std::string lb_tag_
 
std::string user_id_
 

Detailed Description

Definition at line 71 of file load_data_store.h.

Constructor & Destructor Documentation

◆ LoadRecordKey() [1/2]

grpc::load_reporter::LoadRecordKey::LoadRecordKey ( std::string  lb_id,
std::string  lb_tag,
std::string  user_id,
std::string  client_ip_hex 
)
inline

Definition at line 73 of file load_data_store.h.

◆ LoadRecordKey() [2/2]

grpc::load_reporter::LoadRecordKey::LoadRecordKey ( const std::string &  client_ip_and_token,
std::string  user_id 
)

Definition at line 86 of file load_data_store.cc.

Member Function Documentation

◆ client_ip_hex()

const std::string& grpc::load_reporter::LoadRecordKey::client_ip_hex ( ) const
inline

Definition at line 101 of file load_data_store.h.

◆ GetClientIpBytes()

std::string grpc::load_reporter::LoadRecordKey::GetClientIpBytes ( ) const

Definition at line 107 of file load_data_store.cc.

◆ lb_id()

const std::string& grpc::load_reporter::LoadRecordKey::lb_id ( ) const
inline

Definition at line 98 of file load_data_store.h.

◆ lb_tag()

const std::string& grpc::load_reporter::LoadRecordKey::lb_tag ( ) const
inline

Definition at line 99 of file load_data_store.h.

◆ operator==()

bool grpc::load_reporter::LoadRecordKey::operator== ( const LoadRecordKey other) const
inline

Definition at line 89 of file load_data_store.h.

◆ ToString()

std::string grpc::load_reporter::LoadRecordKey::ToString ( ) const
inline

Definition at line 83 of file load_data_store.h.

◆ user_id()

const std::string& grpc::load_reporter::LoadRecordKey::user_id ( ) const
inline

Definition at line 100 of file load_data_store.h.

Member Data Documentation

◆ client_ip_hex_

std::string grpc::load_reporter::LoadRecordKey::client_ip_hex_
private

Definition at line 123 of file load_data_store.h.

◆ lb_id_

std::string grpc::load_reporter::LoadRecordKey::lb_id_
private

Definition at line 120 of file load_data_store.h.

◆ lb_tag_

std::string grpc::load_reporter::LoadRecordKey::lb_tag_
private

Definition at line 121 of file load_data_store.h.

◆ user_id_

std::string grpc::load_reporter::LoadRecordKey::user_id_
private

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