SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::Comm::Protocol::Bkr::Handler::ColumnCompact Struct Reference

#include <swcdb/broker/Protocol/handlers/ColumnCompact.h>

+ Collaboration diagram for SWC::Comm::Protocol::Bkr::Handler::ColumnCompact:

Public Member Functions

SWC_CAN_INLINE ColumnCompact (const ConnHandlerPtr &a_conn, const Event::Ptr &a_ev) noexcept
 
 ~ColumnCompact () noexcept
 
SWC_CAN_INLINE SWC::client::Clients::Ptrget_clients () noexcept
 
SWC_CAN_INLINE bool valid ()
 
SWC_CAN_INLINE void callback (const client::ConnQueue::ReqBase::Ptr &, const Mngr::Params::ColumnCompactRsp &rsp)
 

Public Attributes

ConnHandlerPtr conn
 
Event::Ptr ev
 

Detailed Description

Definition at line 18 of file ColumnCompact.h.

Constructor & Destructor Documentation

◆ ColumnCompact()

SWC_CAN_INLINE SWC::Comm::Protocol::Bkr::Handler::ColumnCompact::ColumnCompact ( const ConnHandlerPtr a_conn,
const Event::Ptr a_ev 
)
inlinenoexcept

Definition at line 24 of file ColumnCompact.h.

◆ ~ColumnCompact()

SWC::Comm::Protocol::Bkr::Handler::ColumnCompact::~ColumnCompact ( )
inlinenoexcept

Definition at line 28 of file ColumnCompact.h.

Member Function Documentation

◆ callback()

SWC_CAN_INLINE void SWC::Comm::Protocol::Bkr::Handler::ColumnCompact::callback ( const client::ConnQueue::ReqBase::Ptr ,
const Mngr::Params::ColumnCompactRsp rsp 
)
inline

Definition at line 41 of file ColumnCompact.h.

References SWC::Error::CLIENT_STOPPING, conn, SWC::Comm::Protocol::Mngr::Params::ColumnCompactRsp::err, ev, SWC::Env::Bkr::is_accepting(), SWC::Comm::Buffers::make(), SWC::Env::Bkr::processed(), and SWC::Error::SERVER_SHUTTING_DOWN.

+ Here is the call graph for this function:

◆ get_clients()

SWC_CAN_INLINE SWC::client::Clients::Ptr& SWC::Comm::Protocol::Bkr::Handler::ColumnCompact::get_clients ( )
inlinenoexcept

Definition at line 31 of file ColumnCompact.h.

References SWC::Env::Clients::get().

+ Here is the call graph for this function:

◆ valid()

SWC_CAN_INLINE bool SWC::Comm::Protocol::Bkr::Handler::ColumnCompact::valid ( )
inline

Definition at line 36 of file ColumnCompact.h.

References conn, ev, and SWC::Env::Bkr::is_accepting().

+ Here is the call graph for this function:

Member Data Documentation

◆ conn

ConnHandlerPtr SWC::Comm::Protocol::Bkr::Handler::ColumnCompact::conn

Definition at line 20 of file ColumnCompact.h.

Referenced by callback(), and valid().

◆ ev

Event::Ptr SWC::Comm::Protocol::Bkr::Handler::ColumnCompact::ev

Definition at line 21 of file ColumnCompact.h.

Referenced by callback(), and valid().


The documentation for this struct was generated from the following file: