#include <swcdb/manager/Protocol/Rgr/req/RangeIsLoaded.h>
Public Types | |
typedef std::shared_ptr< RangeIsLoaded > | Ptr |
Public Types inherited from SWC::Comm::client::ConnQueueReqBase | |
typedef std::shared_ptr< ConnQueueReqBase > | Ptr |
Public Types inherited from SWC::Comm::DispatchHandler | |
typedef std::shared_ptr< DispatchHandler > | Ptr |
Public Member Functions | |
SWC_CAN_INLINE | RangeIsLoaded (const Manager::ColumnHealthCheck::RangerCheck::Ptr &a_checker, const Manager::Range::Ptr &a_range, uint32_t timeout=60000) |
virtual | ~RangeIsLoaded () 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 () |
Public Attributes | |
const Manager::ColumnHealthCheck::RangerCheck::Ptr | checker |
const Manager::Range::Ptr | range |
Public Attributes inherited from SWC::Comm::client::ConnQueueReqBase | |
Buffers::Ptr | cbp |
ConnQueuePtr | queue |
Additional Inherited Members | |
Protected Member Functions inherited from SWC::Comm::client::ConnQueueReqBase | |
virtual | ~ConnQueueReqBase () noexcept |
Protected Member Functions inherited from SWC::Comm::DispatchHandler | |
virtual | ~DispatchHandler () noexcept |
Definition at line 16 of file RangeIsLoaded.h.
typedef std::shared_ptr<RangeIsLoaded> SWC::Comm::Protocol::Rgr::Req::RangeIsLoaded::Ptr |
Definition at line 18 of file RangeIsLoaded.h.
|
inline |
Definition at line 24 of file RangeIsLoaded.h.
|
inlinevirtualnoexcept |
Definition at line 38 of file RangeIsLoaded.h.
|
inlineoverridevirtual |
Implements SWC::Comm::DispatchHandler.
Definition at line 50 of file RangeIsLoaded.h.
References checker, SWC::Error::Exception::code(), SWC::Comm::Serializable::decode(), SWC::Comm::Protocol::Rgr::Params::RangeIsLoadedRsp::err, SWC::Comm::Protocol::Rgr::Params::RangeIsLoadedRsp::flags, SWC::LOG_ERROR, range, SWC_CURRENT_EXCEPTION, SWC_LOG_OSTREAM, and SWC_LOG_OUT.
|
inlineoverridevirtual |
Implements SWC::Comm::DispatchHandler.
Definition at line 46 of file RangeIsLoaded.h.
References checker, SWC::Error::COMM_CONNECT_ERROR, and range.
|
inlineoverridevirtual |
Reimplemented from SWC::Comm::DispatchHandler.
Definition at line 40 of file RangeIsLoaded.h.
References SWC::DB::Types::MngrRangerState::ACK, checker, range, SWC::Env::Mngr::rangers(), and SWC::Manager::Rangers::running().
const Manager::ColumnHealthCheck::RangerCheck::Ptr SWC::Comm::Protocol::Rgr::Req::RangeIsLoaded::checker |
Definition at line 20 of file RangeIsLoaded.h.
Referenced by handle(), handle_no_conn(), and valid().
const Manager::Range::Ptr SWC::Comm::Protocol::Rgr::Req::RangeIsLoaded::range |
Definition at line 21 of file RangeIsLoaded.h.
Referenced by handle(), handle_no_conn(), and valid().