|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.product.MetricValue
org.hyperic.hq.measurement.shared.HighLowMetricValue
public class HighLowMetricValue
Represents a value of a Metric.
MeasurementPluginManager.getValue(java.lang.String)
,
MeasurementPlugin.getValue(org.hyperic.hq.product.Metric)
,
Serialized FormField Summary |
---|
Fields inherited from class org.hyperic.hq.product.MetricValue |
---|
FUTURE, NONE, VALUE_FUTURE, VALUE_NONE |
Constructor Summary | |
---|---|
HighLowMetricValue()
Empty constructor for SOAP serialization |
|
HighLowMetricValue(double value)
Default retrieval time to System.currentTimeMillis() |
|
HighLowMetricValue(double value,
double highValue,
double lowValue,
long rtime)
Construct with value. |
|
HighLowMetricValue(double value,
long rtime)
Construct with values. |
|
HighLowMetricValue(HighLowMetricValue objectValue,
long rtime)
|
|
HighLowMetricValue(long value,
long rtime)
|
|
HighLowMetricValue(java.lang.Number objectValue,
long rtime)
one can always extend and override getRetrievalTime to be more robust. |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
This is for the Datapoint interface. |
boolean |
equals(java.lang.Object obj)
|
int |
getCount()
|
double |
getHighValue()
Retrieves the high value of a chart data point. |
java.lang.String |
getLabel()
Retrieves the label of a chart data point. |
double |
getLowValue()
Retrieves the low value of a chart data point. |
java.lang.Double |
getObjectValue()
Get the Object value. |
double[] |
getValues()
Retrieves the value of a chart data point. |
void |
incrementCount()
|
void |
setCount(int count)
|
void |
setHighValue(double highValue)
|
void |
setLowValue(double lowValue)
|
Methods inherited from class org.hyperic.hq.product.MetricValue |
---|
getTimestamp, getValue, isFuture, isNone, setTimestamp, setValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.hyperic.util.data.IDisplayDataPoint |
---|
getTimestamp |
Methods inherited from interface org.hyperic.util.data.IDataPoint |
---|
getValue |
Constructor Detail |
---|
public HighLowMetricValue()
public HighLowMetricValue(double value, double highValue, double lowValue, long rtime)
public HighLowMetricValue(double value, long rtime)
public HighLowMetricValue(double value)
public HighLowMetricValue(java.lang.Number objectValue, long rtime)
public HighLowMetricValue(HighLowMetricValue objectValue, long rtime)
public HighLowMetricValue(long value, long rtime)
Method Detail |
---|
public java.lang.Double getObjectValue()
getObjectValue
in class MetricValue
public java.lang.String getLabel()
IDisplayDataPoint
getLabel
in interface IDisplayDataPoint
getLabel
in class MetricValue
public double getLowValue()
IHighLowDataPoint
getLowValue
in interface IHighLowDataPoint
public void setLowValue(double lowValue)
public double getHighValue()
IHighLowDataPoint
getHighValue
in interface IHighLowDataPoint
public void setHighValue(double highValue)
public void incrementCount()
public void setCount(int count)
public int getCount()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
compareTo
in class MetricValue
public boolean equals(java.lang.Object obj)
equals
in class MetricValue
public double[] getValues()
IStackedDataPoint
getValues
in interface IStackedDataPoint
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |