8#include <userver/components/component_base.hpp>
9#include <userver/engine/task/task_processor_fwd.hpp>
11#include <userver/ugrpc/client/impl/completion_queue_pool.hpp>
12#include <userver/ugrpc/impl/completion_queue_pool_base.hpp>
13#include <userver/ugrpc/impl/statistics_storage.hpp>
15USERVER_NAMESPACE_BEGIN
42 CommonComponent(
const components::ComponentConfig& config,
const components::ComponentContext& context);
43 ~CommonComponent()
override;
48 friend class ClientFactoryComponent;
50 engine::TaskProcessor& blocking_task_processor_;
51 std::optional<impl::CompletionQueuePool> client_completion_queues_;
52 ugrpc::impl::CompletionQueuePoolBase& completion_queues_;
53 ugrpc::impl::StatisticsStorage client_statistics_storage_;
59inline constexpr bool components::kHasValidate<ugrpc::client::CommonComponent> =
true;