public interface LoadMetricMBean
Modifier and Type | Method and Description |
---|---|
double |
getCapacity()
Returns the load capacity of this metric.
|
int |
getWeight()
Returns the "weight" of this metric, i.e.
|
void |
setCapacity(double capacity)
Sets the maximum capacity of this metric.
|
void |
setWeight(int weight)
Sets the weight of the metric relative to the other metrics.
|
int getWeight()
double getCapacity()
LoadMetric.getLoad(org.jboss.modcluster.container.Engine)
expressed as a
percentage of the capacity, such that: 0 <= (LoadMetric.getLoad(org.jboss.modcluster.container.Engine)
/ getCapacity()
) < 1void setWeight(int weight)
weight
- weight of the metric.void setCapacity(double capacity)
capacity
- non-negative capacity of the metric.Copyright © 2023 JBoss by Red Hat. All rights reserved.