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 |
|---|---|
boolean |
equals(Object o) |
MetricType |
getMetricType() |
String |
getSource() |
long |
getTimestamp() |
Double |
getValue() |
int |
hashCode() |
String |
toJson() |
String |
toString() |
public SingleMetric(String source, long timestamp, Double value, MetricType metricType)
public long getTimestamp()
public String getSource()
public Double getValue()
public MetricType getMetricType()
public String toJson()
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.