public class CpuHealthCheckImpl extends AbstractHealthCheck
Constructor and Description |
---|
CpuHealthCheckImpl() |
Modifier and Type | Method and Description |
---|---|
HealthCheckResult |
checkHealth() |
int |
getCriticalThreshold() |
int |
getWarningThreshold() |
void |
setCpuMeters(java.util.ArrayList<AbstractMeter> cpuMeters) |
void |
setCriticalThreshold(int criticalThreshold) |
void |
setWarningThreshold(int warningThreshold) |
findDelegate, getDelegate, getLastResult, getLogPeriod, getName, hasDelegate, init, isEnabled, logResult, setEnabled, setLogPeriod, setName, silenceFor, start, stop, toString
public HealthCheckResult checkHealth()
public void setCpuMeters(java.util.ArrayList<AbstractMeter> cpuMeters)
public int getWarningThreshold()
public void setWarningThreshold(int warningThreshold)
public int getCriticalThreshold()
public void setCriticalThreshold(int criticalThreshold)