org.rhq.plugins.jmx
Class ThreadDataMeasurementComponent
java.lang.Object
org.rhq.plugins.jmx.MBeanResourceComponent
org.rhq.plugins.jmx.ThreadDataMeasurementComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, ResourceComponent, MeasurementFacet, OperationFacet, JMXComponent
public class ThreadDataMeasurementComponent
- extends MBeanResourceComponent
|
Method Summary |
protected void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set requests,
org.mc4j.ems.connection.bean.EmsBean bean)
Can be called from sub-classes to collect metrics on a bean other than the default bean for this resource
Supports {a.b} syntax for reading the b Java Bean property from the object value returned from the a jmx
property. |
OperationResult |
invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters)
|
| Methods inherited from class org.rhq.plugins.jmx.MBeanResourceComponent |
getAttributeName, getAttributeProperty, getAvailability, getBeanProperties, getEmsBean, getEmsConnection, getPropertyValueAsType, getResourceContext, getValues, invokeOperation, loadBean, loadBean, loadResourceConfiguration, lookupAttributeProperty, setEmsBean, setResourceContext, start, stop, transformBeanName, updateResourceConfiguration, updateResourceConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadDataMeasurementComponent
public ThreadDataMeasurementComponent()
invokeOperation
public OperationResult invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters)
throws InterruptedException,
Exception
- Specified by:
invokeOperation in interface OperationFacet- Overrides:
invokeOperation in class MBeanResourceComponent
- Throws:
InterruptedException
Exception
getValues
protected void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set requests,
org.mc4j.ems.connection.bean.EmsBean bean)
- Description copied from class:
MBeanResourceComponent
- Can be called from sub-classes to collect metrics on a bean other than the default bean for this resource
Supports {a.b} syntax for reading the b Java Bean property from the object value returned from the a jmx
property. For example,
- Overrides:
getValues in class MBeanResourceComponent
bean - the EmsBean on which to collect the metrics
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.