public interface MetricDataPayloadBuilder
| Modifier and Type | Method and Description |
|---|---|
void |
addDataPoint(String key,
long timestamp,
double value,
org.hawkular.metrics.client.common.MetricType metricType)
Add a metric data point.
|
int |
getNumberDataPoints() |
Object |
toPayload() |
void addDataPoint(String key, long timestamp, double value, org.hawkular.metrics.client.common.MetricType metricType)
toPayload() to get the payload message that can be used to
send to the storage backend via the storage adapter.key - identifies the metrictimestamp - the time the metric was collectedvalue - the value of the metricmetricType - the type of metricObject toPayload()
int getNumberDataPoints()
added to the payloadCopyright © 2015 Red Hat, Inc.. All rights reserved.