#include <Metrics.h>
Public Member Functions | |
virtual void | collect (int64_t now, MetricsCollector *collector)=0 |
Collects metrics. More... | |
Metrics interface.
This abstract class defines the interface for classes that compute metrics and publish them to a metrics collector.
|
pure virtual |
Collects metrics.
Computes metrics and publishes them via collector
.
now | Current time in nanoseconds |
collector | Metrics collector |
Implemented in Hypertable::MetricsProcess.