public class GaugeDataPoint extends Object
| Constructor and Description |
|---|
GaugeDataPoint(org.hawkular.metrics.core.api.DataPoint<Double> dataPoint) |
GaugeDataPoint(Long timestamp,
Double value,
Map<String,String> tags) |
| Modifier and Type | Method and Description |
|---|---|
static List<org.hawkular.metrics.core.api.DataPoint<Double>> |
asDataPoints(List<GaugeDataPoint> points) |
boolean |
equals(Object o) |
long |
getTimestamp() |
double |
getValue() |
int |
hashCode() |
static rx.Observable<org.hawkular.metrics.core.api.Metric<Double>> |
toObservable(String tenantId,
String metricId,
List<GaugeDataPoint> points) |
String |
toString() |
public GaugeDataPoint(org.hawkular.metrics.core.api.DataPoint<Double> dataPoint)
public long getTimestamp()
public double getValue()
public static List<org.hawkular.metrics.core.api.DataPoint<Double>> asDataPoints(List<GaugeDataPoint> points)
public static rx.Observable<org.hawkular.metrics.core.api.Metric<Double>> toObservable(String tenantId, String metricId, List<GaugeDataPoint> points)
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.