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

#include <grpclb_client_stats.h>

Data Structures

struct  DropTokenCount
 

Public Types

typedef absl::InlinedVector< DropTokenCount, 10 > DroppedCallCounts
 

Public Member Functions

void AddCallStarted ()
 
void AddCallFinished (bool finished_with_client_failed_to_send, bool finished_known_received)
 
void AddCallDropped (const char *token)
 
void Get (int64_t *num_calls_started, int64_t *num_calls_finished, int64_t *num_calls_finished_with_client_failed_to_send, int64_t *num_calls_finished_known_received, std::unique_ptr< DroppedCallCounts > *drop_token_counts)
 
- Public Member Functions inherited from grpc_core::RefCounted< GrpcLbClientStats >
 ~RefCounted ()=default
 
RefCountedPtr< GrpcLbClientStatsRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< GrpcLbClientStatsRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< GrpcLbClientStatsRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< GrpcLbClientStatsRefIfNonZero (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
 

Static Public Member Functions

static void Destroy (void *arg)
 

Additional Inherited Members

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

Member Typedef Documentation

◆ DroppedCallCounts

Member Function Documentation

◆ AddCallDropped()

void grpc_core::GrpcLbClientStats::AddCallDropped ( const char *  token)

◆ AddCallFinished()

void grpc_core::GrpcLbClientStats::AddCallFinished ( bool  finished_with_client_failed_to_send,
bool  finished_known_received 
)

◆ AddCallStarted()

void grpc_core::GrpcLbClientStats::AddCallStarted ( )

◆ Destroy()

static void grpc_core::GrpcLbClientStats::Destroy ( void *  arg)
inlinestatic

◆ Get()

void grpc_core::GrpcLbClientStats::Get ( int64_t *  num_calls_started,
int64_t *  num_calls_finished,
int64_t *  num_calls_finished_with_client_failed_to_send,
int64_t *  num_calls_finished_known_received,
std::unique_ptr< DroppedCallCounts > *  drop_token_counts 
)

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