public class AverageSystemLoadMetric extends AbstractLoadMetric
OperatingSystemMXBean.getSystemLoadAverage()
to calculate average system load.DEFAULT_CAPACITY, DEFAULT_WEIGHT
Constructor and Description |
---|
AverageSystemLoadMetric() |
AverageSystemLoadMetric(OperatingSystemMXBean bean) |
Modifier and Type | Method and Description |
---|---|
double |
getLoad(Engine engine) |
getCapacity, getWeight, setCapacity, setWeight
public AverageSystemLoadMetric()
public AverageSystemLoadMetric(OperatingSystemMXBean bean)
Copyright © 2017 JBoss by Red Hat. All rights reserved.