|
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.
7 #ifndef swcdb_broker_Protocol_handlers_ColumnCompact_h
8 #define swcdb_broker_Protocol_handlers_ColumnCompact_h
14 namespace SWC {
namespace Comm {
namespace Protocol {
15 namespace Bkr {
namespace Handler {
43 if(!
ev->expired() &&
conn->is_open()) {
58 const uint8_t *ptr = ev->data.base;
59 size_t remain = ev->data.size;
62 params.
decode(&ptr, &remain);
65 params, ev->header.timeout_ms, conn, ev);
80 #endif // swcdb_broker_Protocol_handlers_ColumnCompact_h
SWC_CAN_INLINE void callback(const client::ConnQueue::ReqBase::Ptr &, const Mngr::Params::ColumnCompactRsp &rsp)
SWC_CAN_INLINE bool valid()
constexpr SWC_CAN_INLINE int code() const noexcept
static SWC_CAN_INLINE client::Clients::Ptr & get() noexcept
#define SWC_LOG_OUT(pr, _code_)
static SWC_CAN_INLINE void request(const Params::ColumnCompactReq ¶ms, const uint32_t timeout, DataArgsT &&... args)
void column_compact(const ConnHandlerPtr &conn, const Event::Ptr &ev)
static SWC_CAN_INLINE bool is_accepting() noexcept
#define SWC_CURRENT_EXCEPTION(_msg_)
The SWC-DB C++ namespace 'SWC'.
SWC_CAN_INLINE ColumnCompact(const ConnHandlerPtr &a_conn, const Event::Ptr &a_ev) noexcept
std::shared_ptr< ConnHandler > ConnHandlerPtr
~ColumnCompact() noexcept
static SWC_CAN_INLINE Ptr make(uint32_t reserve=0)
SWC_CAN_INLINE SWC::client::Clients::Ptr & get_clients() noexcept
void decode(const uint8_t **bufp, size_t *remainp)
std::shared_ptr< Event > Ptr
std::shared_ptr< ConnQueueReqBase > Ptr
static SWC_CAN_INLINE void processed() noexcept