Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc::testing::CommonStressTestAsyncServer< BaseClass > Class Template Reference
Inheritance diagram for grpc::testing::CommonStressTestAsyncServer< BaseClass >:
Inheritance graph
[legend]

Classes

struct  Context
 

Public Member Functions

 CommonStressTestAsyncServer ()
 
void SetUp () override
 
void TearDown () override
 

Private Member Functions

void ProcessRpcs ()
 
void RefreshContext (int i)
 

Private Attributes

std::vector< Contextcontexts_
 
std::unique_ptr< ServerCompletionQueuecq_
 
grpc::internal::Mutex mu_
 
std::vector< std::threadserver_threads_
 
grpc::testing::EchoTestService::AsyncService service_
 
bool shutting_down_
 

Detailed Description

template<class BaseClass>
class grpc::testing::CommonStressTestAsyncServer< BaseClass >

Definition at line 178 of file thread_stress_test.cc.

Constructor & Destructor Documentation

◆ CommonStressTestAsyncServer()

template<class BaseClass >
grpc::testing::CommonStressTestAsyncServer< BaseClass >::CommonStressTestAsyncServer ( )
inline

Definition at line 180 of file thread_stress_test.cc.

Member Function Documentation

◆ ProcessRpcs()

template<class BaseClass >
void grpc::testing::CommonStressTestAsyncServer< BaseClass >::ProcessRpcs ( )
inlineprivate

Definition at line 215 of file thread_stress_test.cc.

◆ RefreshContext()

template<class BaseClass >
void grpc::testing::CommonStressTestAsyncServer< BaseClass >::RefreshContext ( int  i)
inlineprivate

Definition at line 237 of file thread_stress_test.cc.

◆ SetUp()

template<class BaseClass >
void grpc::testing::CommonStressTestAsyncServer< BaseClass >::SetUp ( )
inlineoverride

Definition at line 181 of file thread_stress_test.cc.

◆ TearDown()

template<class BaseClass >
void grpc::testing::CommonStressTestAsyncServer< BaseClass >::TearDown ( )
inlineoverride

Definition at line 195 of file thread_stress_test.cc.

Member Data Documentation

◆ contexts_

template<class BaseClass >
std::vector<Context> grpc::testing::CommonStressTestAsyncServer< BaseClass >::contexts_
private

Definition at line 258 of file thread_stress_test.cc.

◆ cq_

template<class BaseClass >
std::unique_ptr<ServerCompletionQueue> grpc::testing::CommonStressTestAsyncServer< BaseClass >::cq_
private

Definition at line 260 of file thread_stress_test.cc.

◆ mu_

template<class BaseClass >
grpc::internal::Mutex grpc::testing::CommonStressTestAsyncServer< BaseClass >::mu_
private

Definition at line 262 of file thread_stress_test.cc.

◆ server_threads_

template<class BaseClass >
std::vector<std::thread> grpc::testing::CommonStressTestAsyncServer< BaseClass >::server_threads_
private

Definition at line 263 of file thread_stress_test.cc.

◆ service_

template<class BaseClass >
grpc::testing::EchoTestService::AsyncService grpc::testing::CommonStressTestAsyncServer< BaseClass >::service_
private

Definition at line 259 of file thread_stress_test.cc.

◆ shutting_down_

template<class BaseClass >
bool grpc::testing::CommonStressTestAsyncServer< BaseClass >::shutting_down_
private

Definition at line 261 of file thread_stress_test.cc.


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


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