SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
ColumnCompact_Base.cc
Go to the documentation of this file.
1 /*
2  * SWC-DB© Copyright since 2019 Alex Kashirin <kashirin.alex@gmail.com>
3  * License details at <https://github.com/kashirin-alex/swc-db/#license>
4  */
5 
6 
9 
10 
11 namespace SWC { namespace Comm { namespace Protocol {
12 namespace Mngr { namespace Req {
13 
14 
15 
17  if(get_clients()->stopping()) {
19  } else if(!valid()) {
21  } else {
22  get_clients()->remove_mngr(endpoints);
23  endpoints.clear();
24  run();
25  }
26 }
27 
28 
29 
30 }}}}}
SWC::Core::Vector::clear
SWC_CAN_INLINE void clear() noexcept(_NoExceptDestructor)
Definition: Vector.h:120
SWC::Comm::Protocol::Mngr::Req::ColumnCompact_Base::endpoints
EndPoints endpoints
Definition: ColumnCompact_Base.h:47
SWC::Comm::Protocol::Mngr::Req::ColumnCompact_Base::run
bool run() override
Definition: ColumnCompact_Base.h:34
SWC::Comm::Protocol::Mngr::Req::ColumnCompact_Base::get_clients
virtual SWC::client::Clients::Ptr & get_clients() noexcept=0
SWC::Comm::Protocol::Mngr::Params::ColumnCompactRsp
Definition: ColumnCompact.h:42
SWC::Comm::DispatchHandler::valid
virtual bool valid()
Definition: DispatchHandler.h:28
SWC
The SWC-DB C++ namespace 'SWC'.
Definition: main.cc:12
ColumnCompact_Base.h
SWC::Comm::Protocol::Mngr::Req::ColumnCompact_Base::handle_no_conn
void handle_no_conn() override
Definition: ColumnCompact_Base.cc:16
SWC::Error::CLIENT_STOPPING
@ CLIENT_STOPPING
Definition: Error.h:127
Commands.h
SWC::Comm::Protocol::Mngr::Req::ColumnCompact_Base::callback
virtual void callback(const Params::ColumnCompactRsp &rsp)=0
SWC::Error::CANCELLED
@ CANCELLED
Definition: Error.h:56