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