Classes | Public Member Functions | Private Attributes | List of all members
grpc::testing::LrsServiceImpl::ClientStats Class Reference

#include <xds_server.h>

Classes

struct  LocalityStats
 

Public Member Functions

 ClientStats ()
 
template<class ClusterStats >
 ClientStats (const ClusterStats &cluster_stats)
 
const std::string & cluster_name () const
 
uint64_t dropped_requests (const std::string &category) const
 
const std::string & eds_service_name () const
 
const std::map< std::string, LocalityStats > & locality_stats () const
 
ClientStatsoperator+= (const ClientStats &other)
 
uint64_t total_dropped_requests () const
 
uint64_t total_error_requests () const
 
uint64_t total_issued_requests () const
 
uint64_t total_requests_in_progress () const
 
uint64_t total_successful_requests () const
 

Private Attributes

std::string cluster_name_
 
std::map< std::string, uint64_tdropped_requests_
 
std::string eds_service_name_
 
std::map< std::string, LocalityStatslocality_stats_
 
uint64_t total_dropped_requests_ = 0
 

Detailed Description

Definition at line 702 of file xds_server.h.

Constructor & Destructor Documentation

◆ ClientStats() [1/2]

grpc::testing::LrsServiceImpl::ClientStats::ClientStats ( )
inline

Definition at line 735 of file xds_server.h.

◆ ClientStats() [2/2]

template<class ClusterStats >
grpc::testing::LrsServiceImpl::ClientStats::ClientStats ( const ClusterStats &  cluster_stats)
inlineexplicit

Definition at line 739 of file xds_server.h.

Member Function Documentation

◆ cluster_name()

const std::string& grpc::testing::LrsServiceImpl::ClientStats::cluster_name ( ) const
inline

Definition at line 755 of file xds_server.h.

◆ dropped_requests()

uint64_t grpc::testing::LrsServiceImpl::ClientStats::dropped_requests ( const std::string &  category) const

Definition at line 196 of file xds_server.cc.

◆ eds_service_name()

const std::string& grpc::testing::LrsServiceImpl::ClientStats::eds_service_name ( ) const
inline

Definition at line 756 of file xds_server.h.

◆ locality_stats()

const std::map<std::string, LocalityStats>& grpc::testing::LrsServiceImpl::ClientStats::locality_stats ( ) const
inline

Definition at line 758 of file xds_server.h.

◆ operator+=()

LrsServiceImpl::ClientStats & grpc::testing::LrsServiceImpl::ClientStats::operator+= ( const ClientStats other)

Definition at line 203 of file xds_server.cc.

◆ total_dropped_requests()

uint64_t grpc::testing::LrsServiceImpl::ClientStats::total_dropped_requests ( ) const
inline

Definition at line 767 of file xds_server.h.

◆ total_error_requests()

uint64_t grpc::testing::LrsServiceImpl::ClientStats::total_error_requests ( ) const

Definition at line 180 of file xds_server.cc.

◆ total_issued_requests()

uint64_t grpc::testing::LrsServiceImpl::ClientStats::total_issued_requests ( ) const

Definition at line 188 of file xds_server.cc.

◆ total_requests_in_progress()

uint64_t grpc::testing::LrsServiceImpl::ClientStats::total_requests_in_progress ( ) const

Definition at line 172 of file xds_server.cc.

◆ total_successful_requests()

uint64_t grpc::testing::LrsServiceImpl::ClientStats::total_successful_requests ( ) const

Definition at line 164 of file xds_server.cc.

Member Data Documentation

◆ cluster_name_

std::string grpc::testing::LrsServiceImpl::ClientStats::cluster_name_
private

Definition at line 774 of file xds_server.h.

◆ dropped_requests_

std::map<std::string, uint64_t> grpc::testing::LrsServiceImpl::ClientStats::dropped_requests_
private

Definition at line 778 of file xds_server.h.

◆ eds_service_name_

std::string grpc::testing::LrsServiceImpl::ClientStats::eds_service_name_
private

Definition at line 775 of file xds_server.h.

◆ locality_stats_

std::map<std::string, LocalityStats> grpc::testing::LrsServiceImpl::ClientStats::locality_stats_
private

Definition at line 776 of file xds_server.h.

◆ total_dropped_requests_

uint64_t grpc::testing::LrsServiceImpl::ClientStats::total_dropped_requests_ = 0
private

Definition at line 777 of file xds_server.h.


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


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