The SWC-DB Application ThriftBroker C++ namespace 'SWC::ThriftBroker'. More...
Namespaces | |
Metric | |
The SWC-DB ThriftBroker Metric C++ namespace 'SWC::ThriftBroker::Metric'. | |
Classes | |
class | AppContext |
class | AppHandler |
Functions | |
SWC_SHOULD_NOT_INLINE AppContext::Ptr | make_service (Threads_t &threads, Servers_t &servers) |
SWC_SHOULD_NOT_INLINE int | exiting (Threads_t &threads, Servers_t &servers) |
int | run () |
The SWC-DB Application ThriftBroker C++ namespace 'SWC::ThriftBroker'.
SWC_SHOULD_NOT_INLINE int SWC::ThriftBroker::exiting | ( | Threads_t & | threads, |
Servers_t & | servers | ||
) |
Definition at line 155 of file main.cc.
References SWC::LOG_INFO, SWC::Env::Config::reset(), SWC_CAN_QUICK_EXIT, and SWC_LOG.
Referenced by run().
SWC_SHOULD_NOT_INLINE AppContext::Ptr SWC::ThriftBroker::make_service | ( | Threads_t & | threads, |
Servers_t & | servers | ||
) |
Definition at line 36 of file main.cc.
References SWC::Core::Vector< T, SizeT, GROW_SZ >::front(), SWC::Comm::Resolver::get_endpoints(), SWC::LOG_FATAL, SWC::LOG_INFO, SWC::Core::Vector< T, SizeT, GROW_SZ >::push_back(), SWC::Env::Config::settings(), SWC::Condition::str_case_eq(), SWC_LOG_OSTREAM, SWC_LOG_OUT, SWC_LOGF, SWC_QUICK_EXIT, SWC_THROW, and timeout_ms.
Referenced by run().
int SWC::ThriftBroker::run | ( | ) |
Definition at line 175 of file main.cc.
References exiting(), make_service(), and SWC_TRY_OR_LOG.
Referenced by main().