SWC-DB  v0.5.9 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Env::Clients Class Referencefinal

#include <swcdb/db/client/Clients.h>

+ Collaboration diagram for SWC::Env::Clients:

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::Ptrget () noexcept
 
static SWC_CAN_INLINE const Clientsref () noexcept
 
static void reset () noexcept
 

Private Attributes

client::Clients::Ptr m_clients = nullptr
 

Static Private Attributes

static std::shared_ptr< Clientsm_env = nullptr
 

Detailed Description

Definition at line 289 of file Clients.h.

Constructor & Destructor Documentation

◆ Clients()

SWC::Env::Clients::Clients ( const client::Clients::Ptr clients)
inlinenoexcept

Definition at line 308 of file Clients.h.

Referenced by init().

+ Here is the caller graph for this function:

◆ ~Clients()

SWC::Env::Clients::~Clients ( )
inlinenoexcept

Definition at line 312 of file Clients.h.

Member Function Documentation

◆ get()

static SWC_CAN_INLINE client::Clients::Ptr& SWC::Env::Clients::get ( )
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(), SWC::Utils::LoadGenerator::update_data(), SWC::ThriftBroker::AppHandler::update_serial(), and SWC::ThriftBroker::AppHandler::updater_create().

+ Here is the caller graph for this function:

◆ init()

void SWC::Env::Clients::init ( const client::Clients::Ptr clients)
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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ref()

static SWC_CAN_INLINE const Clients& SWC::Env::Clients::ref ( )
inlinestaticnoexcept

Definition at line 300 of file Clients.h.

References m_env.

◆ reset()

static void SWC::Env::Clients::reset ( )
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().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_clients

client::Clients::Ptr SWC::Env::Clients::m_clients = nullptr
private

Definition at line 315 of file Clients.h.

◆ m_env

std::shared_ptr<Clients> SWC::Env::Clients::m_env = nullptr
inlinestaticprivate

Definition at line 316 of file Clients.h.

Referenced by get(), init(), ref(), and reset().


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