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::Metrics Class Referenceabstract

Metrics interface. More...

#include <Metrics.h>

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

Public Member Functions

virtual void collect (int64_t now, MetricsCollector *collector)=0
 Collects metrics. More...
 

Detailed Description

Metrics interface.

This abstract class defines the interface for classes that compute metrics and publish them to a metrics collector.

Definition at line 42 of file Metrics.h.

Member Function Documentation

virtual void Hypertable::Metrics::collect ( int64_t  now,
MetricsCollector collector 
)
pure virtual

Collects metrics.

Computes metrics and publishes them via collector.

Parameters
nowCurrent time in nanoseconds
collectorMetrics collector

Implemented in Hypertable::MetricsProcess.


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