thread pool for serve RPC calls
More...
#include <rpc_thread_pool.hpp>
thread pool for serve RPC calls
Definition at line 22 of file rpc_thread_pool.hpp.
| struct kagome::api::RpcThreadPool::Configuration |
Definition at line 26 of file rpc_thread_pool.hpp.
| Class Members |
|
size_t |
max_thread_number |
|
|
size_t |
min_thread_number |
|
| kagome::api::RpcThreadPool::RpcThreadPool |
( |
std::shared_ptr< Context > |
context, |
|
|
const Configuration & |
configuration |
|
) |
| |
| kagome::api::RpcThreadPool::~RpcThreadPool |
( |
| ) |
|
|
default |
| void kagome::api::RpcThreadPool::start |
( |
| ) |
|
| void kagome::api::RpcThreadPool::stop |
( |
| ) |
|
| std::shared_ptr<Context> kagome::api::RpcThreadPool::context_ |
|
private |
| std::vector<std::shared_ptr<std::thread> > kagome::api::RpcThreadPool::threads_ |
|
private |
The documentation for this class was generated from the following files: