GRPC C++  1.39.1
Data Structures | Public Types | Public Member Functions
grpc_core::XdsClusterDropStats Class Reference

#include <xds_client_stats.h>

Data Structures

struct  Snapshot
 

Public Types

using CategorizedDropsMap = std::map< std::string, uint64_t >
 

Public Member Functions

 XdsClusterDropStats (RefCountedPtr< XdsClient > xds_client, absl::string_view lrs_server_name, absl::string_view cluster_name, absl::string_view eds_service_name)
 
 ~XdsClusterDropStats () override
 
Snapshot GetSnapshotAndReset ()
 
void AddUncategorizedDrops ()
 
void AddCallDropped (const std::string &category)
 
- Public Member Functions inherited from grpc_core::RefCounted< XdsClusterDropStats >
 ~RefCounted ()=default
 
RefCountedPtr< XdsClusterDropStatsRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< XdsClusterDropStatsRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< XdsClusterDropStatsRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< XdsClusterDropStatsRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedoperator= (const RefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::RefCounted< XdsClusterDropStats >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Member Typedef Documentation

◆ CategorizedDropsMap

using grpc_core::XdsClusterDropStats::CategorizedDropsMap = std::map<std::string , uint64_t>

Constructor & Destructor Documentation

◆ XdsClusterDropStats()

grpc_core::XdsClusterDropStats::XdsClusterDropStats ( RefCountedPtr< XdsClient xds_client,
absl::string_view  lrs_server_name,
absl::string_view  cluster_name,
absl::string_view  eds_service_name 
)

◆ ~XdsClusterDropStats()

grpc_core::XdsClusterDropStats::~XdsClusterDropStats ( )
override

Member Function Documentation

◆ AddCallDropped()

void grpc_core::XdsClusterDropStats::AddCallDropped ( const std::string &  category)

◆ AddUncategorizedDrops()

void grpc_core::XdsClusterDropStats::AddUncategorizedDrops ( )

◆ GetSnapshotAndReset()

XdsClusterDropStats::Snapshot grpc_core::XdsClusterDropStats::GetSnapshotAndReset ( )

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