public class BusyConnectorsLoadMetric extends AbstractLoadMetric
LoadMetric implementation that returns the total number of busy connector threads.DEFAULT_CAPACITY, DEFAULT_WEIGHT| Constructor and Description |
|---|
BusyConnectorsLoadMetric() |
| Modifier and Type | Method and Description |
|---|---|
double |
getLoad(Engine engine)
Returns the current load of this metric as a percent of the metric's capacity.
|
getCapacity, getWeight, setCapacity, setWeightpublic double getLoad(Engine engine) throws Exception
LoadMetricException - if the load could not be determined.Copyright © 2025 JBoss by Red Hat. All rights reserved.