com.caucho.env.health
Class HealthServiceHealthCheckImpl

java.lang.Object
  extended by com.caucho.health.check.AbstractHealthCheck
      extended by com.caucho.env.health.HealthServiceHealthCheckImpl
All Implemented Interfaces:
HealthCheck
Direct Known Subclasses:
HealthSystemHealthCheck

public class HealthServiceHealthCheckImpl
extends AbstractHealthCheck


Nested Class Summary
protected  class HealthServiceHealthCheckImpl.HealthSystemHealthCheckWorker
           
 
Constructor Summary
HealthServiceHealthCheckImpl()
           
 
Method Summary
 HealthCheckResult checkHealth()
           
 long getFreezeTimeout()
           
 long getThreadCheckPeriod()
           
 void setFreezeTimeoutImpl(long freezeTimeout)
           
 void setThreadCheckPeriodImpl(long threadCheckPeriod)
           
 void start()
           
 void stop()
           
 
Methods inherited from class com.caucho.health.check.AbstractHealthCheck
findDelegate, getDelegate, getName, init, isEnabled, setEnabled, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HealthServiceHealthCheckImpl

public HealthServiceHealthCheckImpl()
Method Detail

checkHealth

public HealthCheckResult checkHealth()

start

public void start()
Specified by:
start in interface HealthCheck
Overrides:
start in class AbstractHealthCheck

stop

public void stop()
Specified by:
stop in interface HealthCheck
Overrides:
stop in class AbstractHealthCheck

getFreezeTimeout

public long getFreezeTimeout()

setFreezeTimeoutImpl

public void setFreezeTimeoutImpl(long freezeTimeout)

getThreadCheckPeriod

public long getThreadCheckPeriod()

setThreadCheckPeriodImpl

public void setThreadCheckPeriodImpl(long threadCheckPeriod)