net.hyperic.hq.product
Class Win32MeasurementPlugin
java.lang.Object
net.hyperic.hq.product.GenericPlugin
net.hyperic.hq.product.MeasurementPlugin
net.hyperic.hq.product.SigarMeasurementPlugin
net.hyperic.hq.product.Win32MeasurementPlugin
- public class Win32MeasurementPlugin
- extends SigarMeasurementPlugin
Methods inherited from class net.hyperic.hq.product.GenericPlugin |
configure, getAbsoluteFiles, getConfig, getConfig, getCustomPropertiesSchema, getCustomPropertiesSchema, getCustomPropertiesSchema, getDefaultInstallPath, getLog, getLogName, getName, getPlatformName, getPluginClassName, getProductPlugin, getProperties, getProperty, getTypeInfo, getTypeNameProperty, getTypeNameProperty, getTypeProperty, getTypeProperty, getTypeProperty, isWin32, openResource, setName, setTypeInfo, toFileList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMAIN_AVAIL
public static final java.lang.String DOMAIN_AVAIL
- See Also:
- Constant Field Values
Win32MeasurementPlugin
public Win32MeasurementPlugin()
getValue
public MetricValue getValue(Metric metric)
throws PluginException,
MetricNotFoundException,
MetricUnreachableException
- Description copied from class:
MeasurementPlugin
- This method is called when the plugin is asked for a
metric value. The Metric is a translated value as returned
by the getMeasurements() routine, and then run through the
translate() method.
- Overrides:
getValue
in class SigarMeasurementPlugin
- Throws:
PluginException
MetricNotFoundException
MetricUnreachableException
getAttributeName
protected java.lang.String getAttributeName(Metric metric)
getDomainName
protected java.lang.String getDomainName(Metric metric)
adjustValue
protected double adjustValue(Metric metric,
double value)
getServiceStatus
public static int getServiceStatus(java.lang.String name)
isServiceRunning
public static boolean isServiceRunning(java.lang.String name)
Copyright © 2004-2005 Hyperic LLC support@hyperic.net, All Rights Reserved.