public class SingleMetric extends Object
Constructor and Description |
---|
SingleMetric(String source,
long timestamp,
Double value) |
SingleMetric(String source,
long timestamp,
Double value,
MetricType metricType) |
Modifier and Type | Method and Description |
---|---|
MetricType |
getMetricType() |
String |
getSource() |
long |
getTimestamp() |
Double |
getValue() |
String |
toJson() |
String |
toString() |
public SingleMetric(String source, long timestamp, Double value, MetricType metricType)
Copyright © 2014 Red Hat, Inc.. All rights reserved.