Class MBeanAttributeLoadMetric
java.lang.Object
org.jboss.modcluster.load.metric.impl.AbstractLoadMetric
org.jboss.modcluster.load.metric.impl.AbstractMBeanLoadMetric
org.jboss.modcluster.load.metric.impl.MBeanAttributeLoadMetric
- All Implemented Interfaces:
LoadMetric,LoadMetricMBean
Generic
LoadMetric whose load is the aggregated value of an mbean attribute.- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.jboss.modcluster.load.metric.LoadMetric
DEFAULT_CAPACITY, DEFAULT_WEIGHT -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jboss.modcluster.load.metric.impl.AbstractMBeanLoadMetric
getAttributes, getLoad, setMBeanServer, setPattern, setPatternMethods inherited from class org.jboss.modcluster.load.metric.impl.AbstractLoadMetric
getCapacity, getWeight, setCapacity, setWeight
-
Constructor Details
-
MBeanAttributeLoadMetric
public MBeanAttributeLoadMetric()
-
-
Method Details
-
setAttribute
-
getLoad
- Specified by:
getLoadin classAbstractMBeanLoadMetric- Throws:
JMException
-