SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
MetricsReporting.h
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 
7 #ifndef swcdb_thrift_broker_queries_update_MetricsReporting_h
8 #define swcdb_thrift_broker_queries_update_MetricsReporting_h
9 
10 
12 
13 
14 namespace SWC { namespace ThriftBroker {
15 
17 namespace Metric {
18 
19 
20 using namespace Common::Query::Update::Metric;
21 
22 
23 
24 struct Commands {
25  static constexpr const uint8_t MAX = 1;
26 
27  static const char* to_string(uint8_t) noexcept {
28  return "NOIMPL";
29  }
30 };
31 
32 
33 
35  public:
36 
37  typedef std::shared_ptr<Reporting> Ptr;
38 
39  Reporting(const Comm::IoContextPtr& a_io,
41 
42  void configure_thriftbroker(const char*, const Comm::EndPoints& endpoints);
43 
44  virtual ~Reporting() noexcept { }
45 
47 
48 };
49 
50 
51 
52 }}} // namespace SWC::ThriftBroker::Metric
53 
54 
55 #endif // swcdb_thrift_broker_queries_update_MetricsReporting_h
SWC::ThriftBroker::Metric::Commands
Definition: MetricsReporting.h:24
SWC::Comm::IoContextPtr
std::shared_ptr< IoContext > IoContextPtr
Definition: IoContext.h:16
SWC::ThriftBroker::Metric::Reporting::Ptr
std::shared_ptr< Reporting > Ptr
Definition: MetricsReporting.h:37
SWC::client::Query::Update::Handlers::Metric::MAX
@ MAX
Definition: Metrics.h:29
SWC
The SWC-DB C++ namespace 'SWC'.
Definition: main.cc:12
SWC::ThriftBroker::Metric::Reporting::~Reporting
virtual ~Reporting() noexcept
Definition: MetricsReporting.h:44
MetricsReporting.h
SWC::Core::Vector< EndPoint >
SWC::Common::Query::Update::Metric::Reporting
Definition: MetricsReporting.h:851
SWC::ThriftBroker::Metric::Commands::to_string
static const char * to_string(uint8_t) noexcept
Definition: MetricsReporting.h:27
SWC::Common::Query::Update::Metric::Item_Net
Definition: MetricsReporting.h:72
SWC::ThriftBroker::Metric::Reporting::net
Item_Net< Commands > * net
Definition: MetricsReporting.h:46
SWC::Config::Property::Value_int32_g
Definition: Property.h:586