|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.businessobjects.sdk.monitoring.probe.VirtualMetric
public class VirtualMetric
This class is the implementation of the interface IVirtualMetric.
It contains the Virtual Metric details.
| Constructor Summary | |
|---|---|
VirtualMetric(java.lang.String metricName,
java.lang.String metricDesc,
java.lang.String unit)
This method is used to create a new Virual Metric with passed parameters. |
|
| Method Summary | |
|---|---|
PropertyBag |
getBag()
This method is used to retrieve the bag containing the virtual metrics information. |
java.lang.String |
getDesc()
This method is used to retrieve the description of the metric. |
java.lang.String |
getName()
This method is used to retrieve the name of the metric. |
java.lang.String[] |
getServerKinds()
This method is used to retrieve the server kinds. |
java.lang.String |
getType()
This method is used to retrieve the type of the metric. |
java.lang.String |
getUnit()
This method is used to retrieve the unit of measurement of the Virtual Metric. |
java.lang.Object |
getValue()
This method is used to retrieve the value of the metric. |
IVMAssociations |
getVMAssociations()
This method is used to get all the Virtual Metrics associations stored in the Health Probe InfoObject. |
void |
setDesc(java.lang.String desc)
This method is used to set the description of the metric. |
void |
setName(java.lang.String name)
This method sets the name in the PropertyIDs.SI_NAME |
void |
setUnit(java.lang.String unit)
This method is used to set the unit of measurement of the Virtual Metric (For example, milliseconds, users). |
void |
setValue(java.lang.Object value)
This method is used to set the value of the metric. |
void |
setVMAssociations(java.lang.String[] cuids)
This method is used to associate the cuid of the managed entity to the Virtual Metric. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VirtualMetric(java.lang.String metricName,
java.lang.String metricDesc,
java.lang.String unit)
This method is used to create a new Virual Metric with passed parameters.
metricName - Name of the metricmetricDesc - Description of the metricunit - unit of measurement| Method Detail |
|---|
public java.lang.String getName()
IVirtualMetricThis method is used to retrieve the name of the metric.
getName in interface IVirtualMetricpublic java.lang.Object getValue()
IVirtualMetricThis method is used to retrieve the value of the metric.
getValue in interface IVirtualMetricpublic void setValue(java.lang.Object value)
IVirtualMetricThis method is used to set the value of the metric.
setValue in interface IVirtualMetricvalue - Value of the metricpublic void setName(java.lang.String name)
setName in interface IVirtualMetricname - Name of the metricpublic java.lang.String getDesc()
IVirtualMetricThis method is used to retrieve the description of the metric.
getDesc in interface IVirtualMetricpublic void setDesc(java.lang.String desc)
IVirtualMetricThis method is used to set the description of the metric.
setDesc in interface IVirtualMetricdesc - Description of the metricpublic java.lang.String getType()
IVirtualMetricThis method is used to retrieve the type of the metric.
getType in interface IVirtualMetricpublic java.lang.String getUnit()
IVirtualMetricThis method is used to retrieve the unit of measurement of the Virtual Metric.
getUnit in interface IVirtualMetricpublic void setUnit(java.lang.String unit)
IVirtualMetricThis method is used to set the unit of measurement of the Virtual Metric (For example, milliseconds, users).
setUnit in interface IVirtualMetricunit - Unit of measurementpublic PropertyBag getBag()
This method is used to retrieve the bag containing the virtual metrics information.
getBag in interface IVirtualMetricpublic IVMAssociations getVMAssociations()
IVirtualMetricThis method is used to get all the Virtual Metrics associations stored in the Health Probe InfoObject.
getVMAssociations in interface IVirtualMetricpublic void setVMAssociations(java.lang.String[] cuids)
IVirtualMetricThis method is used to associate the cuid of the managed entity to the Virtual Metric.
setVMAssociations in interface IVirtualMetriccuids - array of cuidspublic java.lang.String[] getServerKinds()
IVirtualMetricThis method is used to retrieve the server kinds.
getServerKinds in interface IVirtualMetric
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||