Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc::testing::CountedService< ServiceType > Class Template Referenceabstract

#include <counted_service.h>

Inheritance diagram for grpc::testing::CountedService< ServiceType >:
Inheritance graph
[legend]

Public Member Functions

void IncreaseRequestCount ()
 
void IncreaseResponseCount ()
 
size_t request_count ()
 
void ResetCounters ()
 
size_t response_count ()
 

Private Member Functions

size_t request_count_ ABSL_GUARDED_BY (mu_)=0
 
size_t response_count_ ABSL_GUARDED_BY (mu_)=0
 

Private Attributes

grpc_core::Mutex mu_
 

Detailed Description

template<typename ServiceType>
class grpc::testing::CountedService< ServiceType >

Definition at line 28 of file counted_service.h.

Member Function Documentation

◆ ABSL_GUARDED_BY() [1/2]

template<typename ServiceType >
size_t request_count_ grpc::testing::CountedService< ServiceType >::ABSL_GUARDED_BY ( mu_  )
privatepure virtual

◆ ABSL_GUARDED_BY() [2/2]

template<typename ServiceType >
size_t response_count_ grpc::testing::CountedService< ServiceType >::ABSL_GUARDED_BY ( mu_  )
privatepure virtual

◆ IncreaseRequestCount()

template<typename ServiceType >
void grpc::testing::CountedService< ServiceType >::IncreaseRequestCount ( )
inline

Definition at line 44 of file counted_service.h.

◆ IncreaseResponseCount()

template<typename ServiceType >
void grpc::testing::CountedService< ServiceType >::IncreaseResponseCount ( )
inline

Definition at line 40 of file counted_service.h.

◆ request_count()

template<typename ServiceType >
size_t grpc::testing::CountedService< ServiceType >::request_count ( )
inline

Definition at line 30 of file counted_service.h.

◆ ResetCounters()

template<typename ServiceType >
void grpc::testing::CountedService< ServiceType >::ResetCounters ( )
inline

Definition at line 49 of file counted_service.h.

◆ response_count()

template<typename ServiceType >
size_t grpc::testing::CountedService< ServiceType >::response_count ( )
inline

Definition at line 35 of file counted_service.h.

Member Data Documentation

◆ mu_

template<typename ServiceType >
grpc_core::Mutex grpc::testing::CountedService< ServiceType >::mu_
private

Definition at line 56 of file counted_service.h.


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


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