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::Comm::Protocol::Rgr::Req::RangeUnoadForMerge Class Reference

#include <swcdb/manager/Protocol/Rgr/req/RangeUnoadForMerge.h>

+ Inheritance diagram for SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge:
+ Collaboration diagram for SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge:

Public Types

typedef std::shared_ptr< RangeUnoadForMergePtr
 
- 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 Member Functions

 RangeUnoadForMerge (const Manager::Ranger::Ptr &rgr, const Manager::ColumnHealthCheck::ColumnMerger::RangesMerger::Ptr &merger, const Manager::Range::Ptr &range, uint32_t timeout=60000)
 
virtual ~RangeUnoadForMerge () noexcept
 
bool valid () override
 
void handle (ConnHandlerPtr conn, const Event::Ptr &ev) override
 
void handle_no_conn () 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 bool run ()
 

Private Attributes

const Manager::Ranger::Ptr rgr
 
const Manager::ColumnHealthCheck::ColumnMerger::RangesMerger::Ptr merger
 
const Manager::Range::Ptr range
 

Additional Inherited Members

- Public Attributes inherited from SWC::Comm::client::ConnQueueReqBase
Buffers::Ptr cbp
 
ConnQueuePtr queue
 
- Protected Member Functions inherited from SWC::Comm::client::ConnQueueReqBase
virtual ~ConnQueueReqBase () noexcept
 
- Protected Member Functions inherited from SWC::Comm::DispatchHandler
virtual ~DispatchHandler () noexcept
 

Detailed Description

Definition at line 15 of file RangeUnoadForMerge.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ RangeUnoadForMerge()

SWC_CAN_INLINE SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge::RangeUnoadForMerge ( const Manager::Ranger::Ptr rgr,
const Manager::ColumnHealthCheck::ColumnMerger::RangesMerger::Ptr merger,
const Manager::Range::Ptr range,
uint32_t  timeout = 60000 
)

Definition at line 13 of file RangeUnoadForMerge.cc.

◆ ~RangeUnoadForMerge()

virtual SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge::~RangeUnoadForMerge ( )
inlinevirtualnoexcept

Definition at line 25 of file RangeUnoadForMerge.h.

Member Function Documentation

◆ handle()

void SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge::handle ( ConnHandlerPtr  conn,
const Event::Ptr ev 
)
overridevirtual

◆ handle_no_conn()

void SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge::handle_no_conn ( )
overridevirtual

Implements SWC::Comm::DispatchHandler.

Definition at line 37 of file RangeUnoadForMerge.cc.

References SWC::Error::COMM_NOT_CONNECTED, merger, and range.

◆ valid()

bool SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge::valid ( )
overridevirtual

Reimplemented from SWC::Comm::DispatchHandler.

Definition at line 30 of file RangeUnoadForMerge.cc.

References SWC::DB::Types::MngrColumn::DELETED, merger, range, SWC::Env::Mngr::rangers(), and SWC::Manager::Rangers::running().

Referenced by handle().

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

Member Data Documentation

◆ merger

const Manager::ColumnHealthCheck::ColumnMerger::RangesMerger::Ptr SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge::merger
private

Definition at line 36 of file RangeUnoadForMerge.h.

Referenced by handle(), handle_no_conn(), and valid().

◆ range

const Manager::Range::Ptr SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge::range
private

Definition at line 37 of file RangeUnoadForMerge.h.

Referenced by handle(), handle_no_conn(), and valid().

◆ rgr

const Manager::Ranger::Ptr SWC::Comm::Protocol::Rgr::Req::RangeUnoadForMerge::rgr
private

Definition at line 35 of file RangeUnoadForMerge.h.


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