org.rhq.plugins.jmx
Class ThreadDataMeasurementComponent

java.lang.Object
  extended by org.rhq.plugins.jmx.MBeanResourceComponent
      extended by org.rhq.plugins.jmx.ThreadDataMeasurementComponent
All Implemented Interfaces:
AvailabilityFacet, ConfigurationFacet, ConfigurationFacetSupport, ResourceComponent, MeasurementFacet, OperationFacet, JMXComponent

public class ThreadDataMeasurementComponent
extends MBeanResourceComponent


Field Summary
 
Fields inherited from class org.rhq.plugins.jmx.MBeanResourceComponent
bean, log, OBJECT_NAME_PROP, PROPERTY_TRANSFORM, resourceContext
 
Fields inherited from interface org.rhq.plugins.jmx.JMXComponent
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP
 
Constructor Summary
ThreadDataMeasurementComponent()
           
 
Method Summary
protected  void getValues(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, Configuration parameters)
           
 
Methods inherited from class org.rhq.plugins.jmx.MBeanResourceComponent
getAttributeName, getAttributeProperty, getAvailability, getBeanProperties, getEmsBean, getEmsConnection, 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
 

Constructor Detail

ThreadDataMeasurementComponent

public ThreadDataMeasurementComponent()
Method Detail

invokeOperation

public OperationResult invokeOperation(String name,
                                       Configuration parameters)
                                throws InterruptedException,
                                       Exception
Specified by:
invokeOperation in interface OperationFacet
Overrides:
invokeOperation in class MBeanResourceComponent
Throws:
InterruptedException
Exception

getValues

protected void getValues(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-2011 Red Hat, Inc.. All Rights Reserved.