#include <swcdb/db/client/Clients.h>
Public Member Functions | |
Clients (const client::Clients::Ptr &clients) noexcept | |
~Clients () noexcept | |
Static Public Member Functions | |
static void | init (const client::Clients::Ptr &clients) |
static SWC_CAN_INLINE client::Clients::Ptr & | get () noexcept |
static SWC_CAN_INLINE const Clients & | ref () noexcept |
static void | reset () noexcept |
Private Attributes | |
client::Clients::Ptr | m_clients = nullptr |
Static Private Attributes | |
static std::shared_ptr< Clients > | m_env = nullptr |
|
inlinenoexcept |
|
inlinestaticnoexcept |
Definition at line 295 of file Clients.h.
References m_env.
Referenced by SWC::Manager::MngrRole::_apply_cfg(), SWC::Manager::AppContext::AppContext(), SWC::Comm::Protocol::Bkr::Handler::ColumnMng::callback(), SWC::Comm::Protocol::Bkr::Handler::ColumnGet::callback(), SWC::Comm::Protocol::Bkr::Handler::ColumnList::callback(), SWC::Comm::Protocol::Bkr::Handler::cells_select(), SWC::Comm::Protocol::Bkr::Handler::cells_update(), SWC::Comm::Protocol::Mngr::Req::RgrMngId::clear_endpoints(), SWC::Manager::MngdColumns::columns_load(), SWC::Manager::MngrRole::fill_states(), SWC::Manager::ColumnHealthCheck::finishing(), SWC::Utils::LoadGenerator::generate(), SWC::Comm::Protocol::Bkr::Handler::ColumnCompact::get_clients(), SWC::Comm::Protocol::Bkr::Handler::ColumnGet::get_clients(), SWC::Comm::Protocol::Bkr::Handler::ColumnList::get_clients(), SWC::Comm::Protocol::Bkr::Handler::ColumnMng::get_clients(), SWC::Ranger::Callback::RangeUnloadInternal::ReqData::get_clients(), SWC::Comm::Protocol::Bkr::Handler::get_schema(), SWC::ThriftBroker::AppHandler::get_schemas(), SWC::Manager::ColumnHealthCheck::ColumnMerger::RangesMerger::handle(), SWC::Manager::Ranger::init_queue(), SWC::Ranger::Range::last_rgr_chk(), main(), SWC::Utils::LoadGenerator::make_work_load(), SWC::Manager::MngrRole::managers_checker(), SWC::ThriftBroker::AppHandler::mng_column(), SWC::Ranger::RangeSplit::mngr_create_range(), SWC::Ranger::CompactRange::mngr_create_range(), SWC::Ranger::mngr_remove_range(), SWC::ThriftBroker::AppHandler::process_results(), SWC::Manager::MngdColumns::remove(), SWC::DB::RgrData::remove(), SWC::Ranger::RangeSplit::run(), SWC::Comm::Protocol::Mngr::Req::RgrMngId::run(), SWC::Utils::LoadGenerator::select_data(), SWC::Ranger::CompactRange::split(), SWC::ThriftBroker::AppHandler::sql_update(), SWC::ThriftBroker::AppContext::stop(), SWC::Broker::AppContext::stop(), SWC::FsBroker::AppContext::stop(), SWC::Manager::AppContext::stop(), SWC::Ranger::AppContext::stop(), SWC::ThriftBroker::AppHandler::sync_select(), SWC::ThriftBroker::AppHandler::update_by_types(), SWC::ThriftBroker::AppHandler::update_counter(), SWC::Utils::LoadGenerator::update_data(), SWC::ThriftBroker::AppHandler::update_plain(), SWC::ThriftBroker::AppHandler::update_serial(), and SWC::ThriftBroker::AppHandler::updater_create().
|
static |
Definition at line 179 of file Clients.cc.
References Clients(), and m_env.
Referenced by SWC::FsBroker::AppContext::AppContext(), SWC::Manager::AppContext::AppContext(), SWC::ThriftBroker::AppContext::AppContext(), main(), SWC::Broker::AppContext::make(), and SWC::Ranger::AppContext::make().
|
inlinestaticnoexcept |
|
inlinestaticnoexcept |
Definition at line 304 of file Clients.h.
References m_env.
Referenced by main(), SWC::ThriftBroker::AppContext::stop(), SWC::Broker::AppContext::stop(), SWC::FsBroker::AppContext::stop(), SWC::Manager::AppContext::stop(), and SWC::Ranger::AppContext::stop().
|
private |
|
inlinestaticprivate |