public class HighLowMetricValue extends NumericMetricDataPoint implements IHighLowDataPoint
MeasurementPluginManager#getValue,
MeasurementPlugin#getValue,
Serialized Form| Constructor and Description |
|---|
HighLowMetricValue(double value)
Default retrieval time to System.currentTimeMillis()
|
HighLowMetricValue(double value,
double highValue,
double lowValue,
long rtime)
Full constructor - ultimately called by all other constructors.
|
HighLowMetricValue(double value,
long rtime)
Construct with values.
|
HighLowMetricValue(HighLowMetricValue objectValue,
long rtime) |
HighLowMetricValue(long value,
long rtime) |
HighLowMetricValue(org.rhq.core.domain.measurement.composite.MeasurementDataNumericHighLowComposite dataPoint) |
HighLowMetricValue(Number objectValue,
long rtime)
one can always extend and override getRetrievalTime to be more robust.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
This is for the Datapoint interface.
|
boolean |
equals(Object obj) |
int |
getCount() |
double |
getHighValue()
Retrieves the high value of a chart data point.
|
String |
getLabel()
Retrieves the label of a chart data point.
|
double |
getLowValue()
Retrieves the low value of a chart data point.
|
Double |
getObjectValue()
Get the Object value.
|
double[] |
getValues()
Retrieves the value of a chart data point.
|
void |
setCount(int count) |
void |
setHighValue(double highValue) |
void |
setLowValue(double lowValue) |
getTimestamp, getValue, hashCode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTimestampgetValuepublic HighLowMetricValue(double value,
double highValue,
double lowValue,
long rtime)
public HighLowMetricValue(double value,
long rtime)
public HighLowMetricValue(double value)
public HighLowMetricValue(Number objectValue, long rtime)
public HighLowMetricValue(HighLowMetricValue objectValue, long rtime)
public HighLowMetricValue(long value,
long rtime)
public HighLowMetricValue(org.rhq.core.domain.measurement.composite.MeasurementDataNumericHighLowComposite dataPoint)
public Double getObjectValue()
getObjectValue in class NumericMetricDataPointpublic String getLabel()
IDisplayDataPointgetLabel in interface IDisplayDataPointgetLabel in class NumericMetricDataPointpublic double getLowValue()
IHighLowDataPointgetLowValue in interface IHighLowDataPointpublic void setLowValue(double lowValue)
public double getHighValue()
IHighLowDataPointgetHighValue in interface IHighLowDataPointpublic void setHighValue(double highValue)
public void setCount(int count)
public int getCount()
public int compareTo(Object o)
compareTo in interface ComparablecompareTo in class NumericMetricDataPointpublic boolean equals(Object obj)
equals in class NumericMetricDataPointpublic double[] getValues()
IStackedDataPointgetValues in interface IStackedDataPointCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.