|
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
6 #ifndef swcdb_db_protocol_req_Report_h
7 #define swcdb_db_protocol_req_Report_h
14 namespace SWC {
namespace Comm {
namespace Protocol {
15 namespace Mngr {
namespace Req {
26 const uint32_t timeout);
30 const uint32_t timeout);
57 typedef std::shared_ptr<ClusterStatus>
Ptr;
62 Cb_t&&
cb,
const uint32_t timeout = 10000) {
69 Cb_t&&
cb,
const uint32_t timeout = 10000) {
75 Cb_t&&
cb,
const uint32_t timeout);
100 typedef std::shared_ptr<ColumnStatus>
Ptr;
105 const uint32_t timeout = 10000) {
113 Cb_t&&
cb,
const uint32_t timeout = 10000) {
120 Cb_t&&
cb,
const uint32_t timeout = 10000) {
126 Cb_t&&
cb,
const uint32_t timeout);
150 typedef std::shared_ptr<RangersStatus>
Ptr;
155 const uint32_t timeout = 10000) {
162 const uint32_t timeout = 10000) {
168 const uint32_t timeout);
192 typedef std::shared_ptr<ManagersStatus>
Ptr;
197 const uint32_t timeout = 10000) {
204 const uint32_t timeout = 10000) {
211 const uint32_t timeout);
233 #ifdef SWC_IMPL_SOURCE
237 #endif // swcdb_db_protocol_req_Report_h
static SWC_CAN_INLINE void request(const SWC::client::Clients::Ptr &clients, const Params::Report::ReqColumnStatus ¶ms, Cb_t &&cb, const uint32_t timeout=10000)
static SWC_CAN_INLINE Ptr make(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Cb_t &&cb, const uint32_t timeout=10000)
virtual ~Report() noexcept
void handle(ConnHandlerPtr conn, const Event::Ptr &ev) override
std::shared_ptr< ColumnStatus > Ptr
void handle(ConnHandlerPtr conn, const Event::Ptr &ev) override
Report & operator=(Report &&)=delete
Report(const SWC::client::Clients::Ptr &clients, Params::Report::Function func, const uint32_t timeout)
std::function< void(const client::ConnQueue::ReqBase::Ptr &, const int &)> Cb_t
The SWC-DB C++ namespace 'SWC'.
virtual ~ColumnStatus() noexcept
virtual ~ClusterStatus() noexcept
ClusterStatus(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Cb_t &&cb, const uint32_t timeout)
std::function< void(const client::ConnQueue::ReqBase::Ptr &, const int &, const Params::Report::RspColumnStatus &)> Cb_t
Report(const Report &)=delete
static SWC_CAN_INLINE void request(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Cb_t &&cb, const uint32_t timeout=10000)
std::shared_ptr< ConnHandler > ConnHandlerPtr
static SWC_CAN_INLINE void request(const SWC::client::Clients::Ptr &clients, cid_t cid, Cb_t &&cb, const uint32_t timeout=10000)
ColumnStatus(const SWC::client::Clients::Ptr &clients, const Params::Report::ReqColumnStatus ¶ms, Cb_t &&cb, const uint32_t timeout)
std::shared_ptr< Event > Ptr
static SWC_CAN_INLINE Ptr make(const SWC::client::Clients::Ptr &clients, const Params::Report::ReqColumnStatus ¶ms, Cb_t &&cb, const uint32_t timeout=10000)
void handle_no_conn() override
std::shared_ptr< ClusterStatus > Ptr
void handle_no_conn() override
std::shared_ptr< ConnQueueReqBase > Ptr
Report & operator=(const Report &)=delete
SWC::client::Clients::Ptr clients