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::Broker Namespace Reference

The SWC-DB Application Broker C++ namespace 'SWC::Broker'. More...

Namespaces

 Metric
 The SWC-DB Broker Metric C++ namespace 'SWC::Broker::Metric'.
 

Classes

class  AppContext
 

Functions

SWC_SHOULD_NOT_INLINE Comm::server::SerializedServer::Ptr make_service ()
 
SWC_SHOULD_NOT_INLINE int exiting ()
 
SWC_SHOULD_NOT_INLINE int run ()
 

Detailed Description

The SWC-DB Application Broker C++ namespace 'SWC::Broker'.

Function Documentation

◆ exiting()

SWC_SHOULD_NOT_INLINE int SWC::Broker::exiting ( )

Definition at line 43 of file main.cc.

References SWC::LOG_INFO, SWC::Env::Config::reset(), SWC_CAN_QUICK_EXIT, and SWC_LOG.

Referenced by run().

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

◆ make_service()

SWC_SHOULD_NOT_INLINE Comm::server::SerializedServer::Ptr SWC::Broker::make_service ( )

Definition at line 25 of file main.cc.

References SWC::Broker::AppContext::make(), and SWC::Env::Config::settings().

Referenced by run().

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

◆ run()

SWC_SHOULD_NOT_INLINE int SWC::Broker::run ( )

Definition at line 54 of file main.cc.

References exiting(), make_service(), and SWC_TRY_OR_LOG.

Referenced by main().

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