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, setPattern
getCapacity, getWeight, setCapacity, setWeight
public void setDividendAttribute(String attribute)
public void setDivisorAttribute(String attribute)
public double getLoad() throws JMException
getLoad
in class AbstractMBeanLoadMetric
JMException
Copyright © 2023 JBoss by Red Hat. All rights reserved.