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
-
Method Summary
Methods inherited from class org.jboss.modcluster.load.metric.impl.AbstractMBeanLoadMetric
getAttributes, getLoad, setMBeanServer, setPattern, setPattern
Methods 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:
getLoad
in classAbstractMBeanLoadMetric
- Throws:
JMException
-