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::Ranger::Callback::RangeQueryUpdate Struct Reference

#include <swcdb/ranger/callbacks/RangeQueryUpdate.h>

+ Inheritance diagram for SWC::Ranger::Callback::RangeQueryUpdate:
+ Collaboration diagram for SWC::Ranger::Callback::RangeQueryUpdate:

Public Member Functions

SWC_CAN_INLINE RangeQueryUpdate (const Comm::ConnHandlerPtr &a_conn, const Comm::Event::Ptr &a_ev)
 
SWC_CAN_INLINE ~RangeQueryUpdate () noexcept
 
SWC_CAN_INLINE bool expired () const
 
SWC_CAN_INLINE void response ()
 
- Public Member Functions inherited from SWC::Core::QueuePointer< PtrT >::Pointer
constexpr SWC_CAN_INLINE Pointer () noexcept
 
 Pointer (Pointer &&)=delete
 
 Pointer (const Pointer &)=delete
 
Pointeroperator= (Pointer &&)=delete
 
Pointeroperator= (const Pointer &)=delete
 
 ~Pointer () noexcept
 

Public Attributes

Comm::ConnHandlerPtr conn
 
Comm::Event::Ptr ev
 
Comm::Protocol::Rgr::Params::RangeQueryUpdateRsp rsp
 
- Public Attributes inherited from SWC::Core::QueuePointer< PtrT >::Pointer
PtrT _other
 

Detailed Description

Definition at line 17 of file RangeQueryUpdate.h.

Constructor & Destructor Documentation

◆ RangeQueryUpdate()

SWC_CAN_INLINE SWC::Ranger::Callback::RangeQueryUpdate::RangeQueryUpdate ( const Comm::ConnHandlerPtr a_conn,
const Comm::Event::Ptr a_ev 
)
inline

Definition at line 24 of file RangeQueryUpdate.h.

References ev, SWC::System::Resources::more_mem_future(), and SWC::Env::Rgr::res().

+ Here is the call graph for this function:

◆ ~RangeQueryUpdate()

SWC_CAN_INLINE SWC::Ranger::Callback::RangeQueryUpdate::~RangeQueryUpdate ( )
inlinenoexcept

Definition at line 31 of file RangeQueryUpdate.h.

References ev, SWC::System::Resources::less_mem_future(), and SWC::Env::Rgr::res().

+ Here is the call graph for this function:

Member Function Documentation

◆ expired()

SWC_CAN_INLINE bool SWC::Ranger::Callback::RangeQueryUpdate::expired ( ) const
inline

Definition at line 36 of file RangeQueryUpdate.h.

References conn, and ev.

Referenced by SWC::Ranger::Range::_run_add_queue().

+ Here is the caller graph for this function:

◆ response()

SWC_CAN_INLINE void SWC::Ranger::Callback::RangeQueryUpdate::response ( )
inline

Definition at line 41 of file RangeQueryUpdate.h.

References conn, ev, SWC::Comm::Buffers::make(), and rsp.

Referenced by SWC::Ranger::Range::_run_add_queue(), and SWC::Ranger::Range::MetaRegOnAddReq::callback().

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

Member Data Documentation

◆ conn

Comm::ConnHandlerPtr SWC::Ranger::Callback::RangeQueryUpdate::conn

Definition at line 19 of file RangeQueryUpdate.h.

Referenced by expired(), and response().

◆ ev

Comm::Event::Ptr SWC::Ranger::Callback::RangeQueryUpdate::ev

◆ rsp


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