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) |
void |
setWeight(int weight)
Returns the current load of this metric as a percent of the metric's capacity.
|
int getWeight()
double getCapacity()
#getLoad()
expressed as a
percentage of the capacity, such that: 0 <= (#getLoad()
/ getCapacity()
) < 1void setWeight(int weight)
Exception
- if the load could not be determined.void setCapacity(double capacity)
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.