GRPC C++
1.39.1
|
#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) |
![]() | |
~RefCounted ()=default | |
RefCountedPtr< GrpcLbClientStats > | Ref () GRPC_MUST_USE_RESULT |
RefCountedPtr< GrpcLbClientStats > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
void | Unref () |
void | Unref (const DebugLocation &location, const char *reason) |
RefCountedPtr< GrpcLbClientStats > | RefIfNonZero () GRPC_MUST_USE_RESULT |
RefCountedPtr< GrpcLbClientStats > | RefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
RefCounted (const RefCounted &)=delete | |
RefCounted & | operator= (const RefCounted &)=delete |
![]() | |
virtual | ~PolymorphicRefCount ()=default |
Static Public Member Functions | |
static void | Destroy (void *arg) |
Additional Inherited Members | |
![]() | |
RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
typedef absl::InlinedVector<DropTokenCount, 10> grpc_core::GrpcLbClientStats::DroppedCallCounts |
void grpc_core::GrpcLbClientStats::AddCallDropped | ( | const char * | token | ) |
void grpc_core::GrpcLbClientStats::AddCallFinished | ( | bool | finished_with_client_failed_to_send, |
bool | finished_known_received | ||
) |
void grpc_core::GrpcLbClientStats::AddCallStarted | ( | ) |
|
inlinestatic |
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 | ||
) |