public class NumericMetricDataPoint extends Object implements IDisplayDataPoint, IComparableDatapoint, Serializable
| Constructor and Description |
|---|
NumericMetricDataPoint(org.rhq.enterprise.server.measurement.AvailabilityPoint availabilityPoint) |
NumericMetricDataPoint(org.rhq.core.domain.measurement.composite.MeasurementDataNumericHighLowComposite dataPoint) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object obj)
This is for the Datapoint interface.
|
boolean |
equals(Object obj) |
String |
getLabel()
Retrieves the label of a chart data point.
|
Double |
getObjectValue() |
long |
getTimestamp() |
double |
getValue()
Retrieves the value of a chart data point.
|
int |
hashCode() |
String |
toString() |
public NumericMetricDataPoint(org.rhq.core.domain.measurement.composite.MeasurementDataNumericHighLowComposite dataPoint)
public NumericMetricDataPoint(org.rhq.enterprise.server.measurement.AvailabilityPoint availabilityPoint)
public long getTimestamp()
getTimestamp in interface IDisplayDataPointpublic String getLabel()
IDisplayDataPointgetLabel in interface IDisplayDataPointpublic double getValue()
IDataPointgetValue in interface IDataPointpublic Double getObjectValue()
public int compareTo(Object obj)
compareTo in interface ComparableCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.