0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
Hypertable::MetricsCollector Class Referenceabstract

Abstract metrics collector. More...

#include <MetricsCollector.h>

Inheritance diagram for Hypertable::MetricsCollector:
Inheritance graph
[legend]

Public Member Functions

virtual void update (const std::string &name, const std::string &value)=0
 Updates string metric value. More...
 
virtual void update (const std::string &name, int16_t value)=0
 Updates int16 metric value. More...
 
virtual void update (const std::string &name, int32_t value)=0
 Updates int32 metric value. More...
 
virtual void update (const std::string &name, float value)=0
 Updates float metric value. More...
 
virtual void update (const std::string &name, double value)=0
 Updates double metric value. More...
 
virtual void publish ()=0
 Publishes collected metrics. More...
 

Detailed Description

Abstract metrics collector.

Definition at line 39 of file MetricsCollector.h.

Member Function Documentation

virtual void Hypertable::MetricsCollector::publish ( )
pure virtual

Publishes collected metrics.

Implemented in Hypertable::MetricsCollectorGanglia.

virtual void Hypertable::MetricsCollector::update ( const std::string &  name,
const std::string &  value 
)
pure virtual

Updates string metric value.

Parameters
nameRelative name of metric
valueMetric value

Implemented in Hypertable::MetricsCollectorGanglia.

virtual void Hypertable::MetricsCollector::update ( const std::string &  name,
int16_t  value 
)
pure virtual

Updates int16 metric value.

Parameters
nameRelative name of metric
valueMetric value

Implemented in Hypertable::MetricsCollectorGanglia.

virtual void Hypertable::MetricsCollector::update ( const std::string &  name,
int32_t  value 
)
pure virtual

Updates int32 metric value.

Parameters
nameRelative name of metric
valueMetric value

Implemented in Hypertable::MetricsCollectorGanglia.

virtual void Hypertable::MetricsCollector::update ( const std::string &  name,
float  value 
)
pure virtual

Updates float metric value.

Parameters
nameRelative name of metric
valueMetric value

Implemented in Hypertable::MetricsCollectorGanglia.

virtual void Hypertable::MetricsCollector::update ( const std::string &  name,
double  value 
)
pure virtual

Updates double metric value.

Parameters
nameRelative name of metric
valueMetric value

Implemented in Hypertable::MetricsCollectorGanglia.


The documentation for this class was generated from the following file: