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::RangeLocate< DataT > Class Template Referencefinal

#include <swcdb/db/Protocol/Rgr/req/RangeLocate.h>

+ Inheritance diagram for SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >:
+ Collaboration diagram for SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >:

Public Types

typedef std::shared_ptr< RangeLocatePtr
 
- 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

virtual ~RangeLocate () noexcept
 
bool valid () override
 
void handle_no_conn () override
 
void handle (ConnHandlerPtr, const Event::Ptr &ev) 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 ()
 

Static Public Member Functions

template<typename... DataArgsT>
static SWC_CAN_INLINE Ptr make (const Params::RangeLocateReq &params, const uint32_t timeout, DataArgsT &&... args)
 
static SWC_CAN_INLINE void request (const Ptr &req, const EndPoints &endpoints)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void request (const Params::RangeLocateReq &params, const EndPoints &endpoints, const uint32_t timeout, DataArgsT &&... args)
 

Public Attributes

DataT data
 
- Public Attributes inherited from SWC::Comm::client::ConnQueueReqBase
Buffers::Ptr cbp
 
ConnQueuePtr queue
 

Protected Member Functions

template<typename... DataArgsT>
SWC_CAN_INLINE RangeLocate (const Params::RangeLocateReq &params, const uint32_t timeout, DataArgsT &&... args)
 
- 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

template<typename DataT>
class SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >

Definition at line 22 of file RangeLocate.h.

Member Typedef Documentation

◆ Ptr

template<typename DataT >
typedef std::shared_ptr<RangeLocate> SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::Ptr

Definition at line 25 of file RangeLocate.h.

Constructor & Destructor Documentation

◆ ~RangeLocate()

template<typename DataT >
virtual SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::~RangeLocate ( )
inlinevirtualnoexcept

Definition at line 52 of file RangeLocate.h.

◆ RangeLocate()

template<typename DataT >
template<typename... DataArgsT>
SWC_CAN_INLINE SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::RangeLocate ( const Params::RangeLocateReq params,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlineprotected

Definition at line 76 of file RangeLocate.h.

Referenced by SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::make().

+ Here is the caller graph for this function:

Member Function Documentation

◆ handle()

template<typename DataT >
void SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::handle ( ConnHandlerPtr  ,
const Event::Ptr ev 
)
inlineoverridevirtual

Implements SWC::Comm::DispatchHandler.

Definition at line 65 of file RangeLocate.h.

References SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::data, and SWC::Comm::client::ConnQueueReqBase::req().

+ Here is the call graph for this function:

◆ handle_no_conn()

template<typename DataT >
void SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::handle_no_conn ( )
inlineoverridevirtual

Implements SWC::Comm::DispatchHandler.

Definition at line 58 of file RangeLocate.h.

References SWC::Error::COMM_NOT_CONNECTED, SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::data, and SWC::Comm::client::ConnQueueReqBase::req().

+ Here is the call graph for this function:

◆ make()

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE Ptr SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::make ( const Params::RangeLocateReq params,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 30 of file RangeLocate.h.

References SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::RangeLocate().

Referenced by SWC::client::Query::Update::Committer::locate_on_ranger(), and SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::request().

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

◆ request() [1/2]

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE void SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::request ( const Params::RangeLocateReq params,
const EndPoints endpoints,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 44 of file RangeLocate.h.

References SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::make(), and SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::request().

+ Here is the call graph for this function:

◆ request() [2/2]

template<typename DataT >
static SWC_CAN_INLINE void SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::request ( const Ptr req,
const EndPoints endpoints 
)
inlinestatic

Definition at line 38 of file RangeLocate.h.

References SWC::Comm::client::ConnQueueReqBase::req().

Referenced by SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::request(), SWC::client::Query::Select::Scanner::rgr_locate_master(), and SWC::client::Query::Select::Scanner::rgr_locate_meta().

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

◆ valid()

template<typename DataT >
bool SWC::Comm::Protocol::Rgr::Req::RangeLocate< DataT >::valid ( )
inlineoverridevirtual

Member Data Documentation

◆ data


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