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::Req::ColumnCompact_Base Class Referenceabstract

#include <swcdb/db/Protocol/Bkr/req/ColumnCompact_Base.h>

+ Inheritance diagram for SWC::Comm::Protocol::Bkr::Req::ColumnCompact_Base:
+ Collaboration diagram for SWC::Comm::Protocol::Bkr::Req::ColumnCompact_Base:

Public Member Functions

SWC_CAN_INLINE ColumnCompact_Base (const Mngr::Params::ColumnCompactReq &params, const uint32_t timeout)
 
virtual ~ColumnCompact_Base () noexcept
 
void handle_no_conn () override
 
bool run () override
 
- Public Member Functions inherited from SWC::Comm::client::ConnQueueReqBase
SWC_CAN_INLINE ConnQueueReqBase (Buffers::Ptr &&a_cbp) noexcept
 
SWC_CAN_INLINE ConnQueueReqBase (Buffers::Ptr &&a_cbp, const ConnQueuePtr &a_queue) noexcept
 
SWC_CAN_INLINE Ptr req () noexcept
 
virtual bool insistent () noexcept
 
void request_again ()
 
void print (std::ostream &out)
 
- Public Member Functions inherited from SWC::Comm::DispatchHandler
virtual void handle (ConnHandlerPtr conn, const Event::Ptr &ev)=0
 
virtual bool valid ()
 

Protected Member Functions

virtual SWC::client::Clients::Ptrget_clients () noexcept=0
 
virtual void callback (const Mngr::Params::ColumnCompactRsp &rsp)=0
 
- Protected Member Functions inherited from SWC::Comm::client::ConnQueueReqBase
virtual ~ConnQueueReqBase () noexcept
 
- Protected Member Functions inherited from SWC::Comm::DispatchHandler
virtual ~DispatchHandler () noexcept
 

Private Attributes

SWC::client::Brokers::BrokerIdx _bkr_idx
 

Additional Inherited Members

- Public Types inherited from SWC::Comm::client::ConnQueueReqBase
typedef std::shared_ptr< ConnQueueReqBasePtr
 
- Public Types inherited from SWC::Comm::DispatchHandler
typedef std::shared_ptr< DispatchHandlerPtr
 
- Public Attributes inherited from SWC::Comm::client::ConnQueueReqBase
Buffers::Ptr cbp
 
ConnQueuePtr queue
 

Detailed Description

Definition at line 19 of file ColumnCompact_Base.h.

Constructor & Destructor Documentation

◆ ColumnCompact_Base()

SWC_CAN_INLINE SWC::Comm::Protocol::Bkr::Req::ColumnCompact_Base::ColumnCompact_Base ( const Mngr::Params::ColumnCompactReq params,
const uint32_t  timeout 
)
inline

Definition at line 23 of file ColumnCompact_Base.h.

◆ ~ColumnCompact_Base()

virtual SWC::Comm::Protocol::Bkr::Req::ColumnCompact_Base::~ColumnCompact_Base ( )
inlinevirtualnoexcept

Definition at line 30 of file ColumnCompact_Base.h.

Member Function Documentation

◆ callback()

virtual void SWC::Comm::Protocol::Bkr::Req::ColumnCompact_Base::callback ( const Mngr::Params::ColumnCompactRsp rsp)
protectedpure virtual

Implemented in SWC::Comm::Protocol::Bkr::Req::ColumnCompact< DataT >.

Referenced by handle_no_conn().

+ Here is the caller graph for this function:

◆ get_clients()

virtual SWC::client::Clients::Ptr& SWC::Comm::Protocol::Bkr::Req::ColumnCompact_Base::get_clients ( )
protectedpure virtualnoexcept

Implemented in SWC::Comm::Protocol::Bkr::Req::ColumnCompact< DataT >.

Referenced by handle_no_conn(), and run().

+ Here is the caller graph for this function:

◆ handle_no_conn()

void SWC::Comm::Protocol::Bkr::Req::ColumnCompact_Base::handle_no_conn ( )
overridevirtual

Implements SWC::Comm::DispatchHandler.

Definition at line 16 of file ColumnCompact_Base.cc.

References _bkr_idx, callback(), SWC::Error::CANCELLED, SWC::Error::CLIENT_STOPPING, get_clients(), SWC::Comm::client::ConnQueueReqBase::request_again(), run(), SWC::client::Brokers::BrokerIdx::turn_around(), and SWC::Comm::DispatchHandler::valid().

+ Here is the call graph for this function:

◆ run()

bool SWC::Comm::Protocol::Bkr::Req::ColumnCompact_Base::run ( )
inlineoverridevirtual

Reimplemented from SWC::Comm::DispatchHandler.

Definition at line 34 of file ColumnCompact_Base.h.

References _bkr_idx, get_clients(), and SWC::Comm::client::ConnQueueReqBase::req().

Referenced by handle_no_conn().

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

Member Data Documentation

◆ _bkr_idx

SWC::client::Brokers::BrokerIdx SWC::Comm::Protocol::Bkr::Req::ColumnCompact_Base::_bkr_idx
private

Definition at line 45 of file ColumnCompact_Base.h.

Referenced by handle_no_conn(), and run().


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