public class JobWorkerHealthReporter extends Object
Constructor and Description |
---|
JobWorkerHealthReporter()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
compute()
Computes all of the metrics needed for JobWorkerHealthReporter.
|
List<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 List<Double> getCpuLoadAverage()
public boolean isHealthy()
public void compute()
Copyright © 2023. All Rights Reserved.