com.caucho.server.admin
Class CpuHealthCheckImpl

java.lang.Object
  extended by com.caucho.health.check.AbstractHealthCheck
      extended by com.caucho.server.admin.CpuHealthCheckImpl
All Implemented Interfaces:
HealthCheck
Direct Known Subclasses:
CpuHealthCheck

public class CpuHealthCheckImpl
extends AbstractHealthCheck


Constructor Summary
CpuHealthCheckImpl()
           
 
Method Summary
 HealthCheckResult checkHealth()
           
 int getCriticalThreshold()
           
 int getWarningThreshold()
           
 void setCpuMeters(java.util.ArrayList<AbstractMeter> cpuMeters)
           
 void setCriticalThreshold(int criticalThreshold)
           
 void setWarningThreshold(int warningThreshold)
           
 
Methods inherited from class com.caucho.health.check.AbstractHealthCheck
findDelegate, getDelegate, getName, init, isEnabled, setEnabled, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CpuHealthCheckImpl

public CpuHealthCheckImpl()
Method Detail

checkHealth

public HealthCheckResult checkHealth()

setCpuMeters

public void setCpuMeters(java.util.ArrayList<AbstractMeter> cpuMeters)

getWarningThreshold

public int getWarningThreshold()

setWarningThreshold

public void setWarningThreshold(int warningThreshold)

getCriticalThreshold

public int getCriticalThreshold()

setCriticalThreshold

public void setCriticalThreshold(int criticalThreshold)