public class MBeanAttributeRatioLoadMetric extends AbstractMBeanLoadMetric
LoadMetric whose load is the ratio of 2 aggregated mbean attributes.DEFAULT_CAPACITY, DEFAULT_WEIGHT| Constructor and Description |
|---|
MBeanAttributeRatioLoadMetric() |
| Modifier and Type | Method and Description |
|---|---|
double |
getLoad() |
void |
setDividendAttribute(String attribute) |
void |
setDivisorAttribute(String attribute) |
getAttributes, getLoad, setMBeanServer, setPattern, setPatterngetCapacity, getWeight, setCapacity, setWeightpublic void setDividendAttribute(String attribute)
public void setDivisorAttribute(String attribute)
public double getLoad()
throws JMException
getLoad in class AbstractMBeanLoadMetricJMExceptionCopyright © 2023 JBoss by Red Hat. All rights reserved.