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::RangeUnloadInternal Class Referencefinal

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

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

Classes

struct  ReqData
 

Public Types

typedef std::shared_ptr< RangeUnloadInternalPtr
 
- Public Types inherited from SWC::Ranger::Callback::ManageBase
enum  Action {
  RANGE_LOAD,
  RANGE_UNLOAD,
  RANGE_UNLOAD_INTERNAL,
  COLUMNS_UNLOAD,
  COLUMN_DELETE
}
 
typedef std::shared_ptr< ManageBasePtr
 
- Public Types inherited from SWC::Comm::ResponseCallback
typedef std::shared_ptr< ResponseCallbackPtr
 

Public Member Functions

SWC_CAN_INLINE RangeUnloadInternal (const cid_t a_cid, const rid_t a_rid) noexcept
 
virtual ~RangeUnloadInternal () noexcept
 
void run () override
 
void response (int &) override
 
void send_error (int, const std::string &) override
 
void response_ok () override
 
void response ()
 
- Public Member Functions inherited from SWC::Ranger::Callback::ManageBase
SWC_CAN_INLINE ManageBase (const Comm::ConnHandlerPtr &conn, const Comm::Event::Ptr &ev, Action a_action)
 
virtual ~ManageBase () noexcept
 
- Public Member Functions inherited from SWC::Comm::ResponseCallback
 ResponseCallback (const ConnHandlerPtr &conn, const Event::Ptr &ev)
 
virtual ~ResponseCallback () noexcept
 
virtual bool expired (int64_t within=0) const noexcept
 

Public Attributes

const cid_t cid
 
const rid_t rid
 
- Public Attributes inherited from SWC::Ranger::Callback::ManageBase
Action action
 

Additional Inherited Members

- Protected Attributes inherited from SWC::Comm::ResponseCallback
ConnHandlerPtr m_conn
 
Event::Ptr m_ev
 

Detailed Description

Definition at line 15 of file RangeUnloadInternal.h.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ RangeUnloadInternal()

SWC_CAN_INLINE SWC::Ranger::Callback::RangeUnloadInternal::RangeUnloadInternal ( const cid_t  a_cid,
const rid_t  a_rid 
)
inlinenoexcept

Definition at line 23 of file RangeUnloadInternal.h.

◆ ~RangeUnloadInternal()

virtual SWC::Ranger::Callback::RangeUnloadInternal::~RangeUnloadInternal ( )
inlinevirtualnoexcept

Definition at line 28 of file RangeUnloadInternal.h.

Member Function Documentation

◆ response() [1/2]

void SWC::Ranger::Callback::RangeUnloadInternal::response ( )
inline

Definition at line 38 of file RangeUnloadInternal.h.

References cid, SWC::Comm::Protocol::Mngr::Req::RangeUnloaded< DataT >::request(), and rid.

+ Here is the call graph for this function:

◆ response() [2/2]

void SWC::Ranger::Callback::RangeUnloadInternal::response ( int &  )
inlineoverridevirtual

Reimplemented from SWC::Comm::ResponseCallback.

Definition at line 32 of file RangeUnloadInternal.h.

◆ response_ok()

void SWC::Ranger::Callback::RangeUnloadInternal::response_ok ( )
inlineoverridevirtual

Reimplemented from SWC::Comm::ResponseCallback.

Definition at line 36 of file RangeUnloadInternal.h.

◆ run()

void SWC::Ranger::Callback::RangeUnloadInternal::run ( )
inlineoverridevirtual

Reimplemented from SWC::Comm::ResponseCallback.

Definition at line 30 of file RangeUnloadInternal.h.

◆ send_error()

void SWC::Ranger::Callback::RangeUnloadInternal::send_error ( int  ,
const std::string &   
)
inlineoverridevirtual

Reimplemented from SWC::Comm::ResponseCallback.

Definition at line 34 of file RangeUnloadInternal.h.

Member Data Documentation

◆ cid

const cid_t SWC::Ranger::Callback::RangeUnloadInternal::cid

Definition at line 19 of file RangeUnloadInternal.h.

Referenced by response().

◆ rid

const rid_t SWC::Ranger::Callback::RangeUnloadInternal::rid

Definition at line 20 of file RangeUnloadInternal.h.

Referenced by response().


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