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::Mngr::Req::RangeUnloaded< DataT > Class Template Referencefinal

#include <swcdb/db/Protocol/Mngr/req/RangeUnloaded.h>

+ Inheritance diagram for SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >:
+ Collaboration diagram for SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >:

Public Types

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

 RangeUnloaded (RangeUnloaded &&)=delete
 
 RangeUnloaded (const RangeUnloaded &)=delete
 
RangeUnloadedoperator= (RangeUnloaded &&)=delete
 
RangeUnloadedoperator= (const RangeUnloaded &)=delete
 
virtual ~RangeUnloaded () noexcept
 
bool valid () override
 
void handle_no_conn () override
 
bool run () 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)
 

Static Public Member Functions

template<typename... DataArgsT>
static SWC_CAN_INLINE Ptr make (const Params::RangeUnloadedReq &params, const uint32_t timeout, DataArgsT &&... args)
 
template<typename... DataArgsT>
static SWC_CAN_INLINE void request (const Params::RangeUnloadedReq &params, 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 RangeUnloaded (const Params::RangeUnloadedReq &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
 

Private Attributes

EndPoints endpoints
 

Detailed Description

template<typename DataT>
class SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >

Definition at line 19 of file RangeUnloaded.h.

Member Typedef Documentation

◆ Ptr

template<typename DataT >
typedef std::shared_ptr<RangeUnloaded> SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::Ptr

Definition at line 22 of file RangeUnloaded.h.

Constructor & Destructor Documentation

◆ RangeUnloaded() [1/3]

template<typename DataT >
SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::RangeUnloaded ( RangeUnloaded< DataT > &&  )
delete

Referenced by SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::make().

+ Here is the caller graph for this function:

◆ RangeUnloaded() [2/3]

template<typename DataT >
SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::RangeUnloaded ( const RangeUnloaded< DataT > &  )
delete

◆ ~RangeUnloaded()

template<typename DataT >
virtual SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::~RangeUnloaded ( )
inlinevirtualnoexcept

Definition at line 48 of file RangeUnloaded.h.

◆ RangeUnloaded() [3/3]

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

Definition at line 84 of file RangeUnloaded.h.

Member Function Documentation

◆ handle()

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

Implements SWC::Comm::DispatchHandler.

Definition at line 73 of file RangeUnloaded.h.

References SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< 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::Mngr::Req::RangeUnloaded< DataT >::handle_no_conn ( )
inlineoverridevirtual

◆ make()

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

Definition at line 27 of file RangeUnloaded.h.

References SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::RangeUnloaded().

Referenced by SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::request().

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

◆ operator=() [1/2]

template<typename DataT >
RangeUnloaded& SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::operator= ( const RangeUnloaded< DataT > &  )
delete

◆ operator=() [2/2]

template<typename DataT >
RangeUnloaded& SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::operator= ( RangeUnloaded< DataT > &&  )
delete

◆ request()

template<typename DataT >
template<typename... DataArgsT>
static SWC_CAN_INLINE void SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::request ( const Params::RangeUnloadedReq params,
const uint32_t  timeout,
DataArgsT &&...  args 
)
inlinestatic

Definition at line 36 of file RangeUnloaded.h.

References SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::make().

Referenced by SWC::Ranger::Callback::RangeUnloadInternal::response(), SWC::Ranger::RangeSplit::run(), and SWC::Ranger::CompactRange::split().

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

◆ run()

template<typename DataT >
bool SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::run ( )
inlineoverridevirtual

Reimplemented from SWC::Comm::DispatchHandler.

Definition at line 68 of file RangeUnloaded.h.

References SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::data, SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::endpoints, and SWC::Comm::client::ConnQueueReqBase::req().

Referenced by SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::handle_no_conn().

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

◆ valid()

template<typename DataT >
bool SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::valid ( )
inlineoverridevirtual

Member Data Documentation

◆ data

◆ endpoints


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