public class JobWorkerHealthReporter
extends java.lang.Object
| Constructor and Description |
|---|
JobWorkerHealthReporter()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
compute()
Computes all of the metrics needed for JobWorkerHealthReporter.
|
java.util.List<java.lang.Double> |
getCpuLoadAverage()
Returns the system load average of the worker.
|
boolean |
isHealthy()
Determines whether the system is healthy from all the metrics it has collected.
|
public java.util.List<java.lang.Double> getCpuLoadAverage()
public boolean isHealthy()
public void compute()
Copyright © 2022. All Rights Reserved.