com.caucho.admin
Class PingThread

java.lang.Object
  extended by com.caucho.health.check.AbstractHealthCheck
      extended by com.caucho.env.health.HttpStatusHealthCheckImpl
          extended by com.caucho.health.check.HttpStatusHealthCheck
              extended by com.caucho.admin.PingThread
All Implemented Interfaces:
HealthCheck
Direct Known Subclasses:
PingMailer, PingThread

Deprecated.

@Unbound
@Deprecated
@Configurable
public class PingThread
extends HttpStatusHealthCheck

See Also:
HttpStatusHealthCheck

Constructor Summary
PingThread()
          Deprecated.  
 
Method Summary
 void init()
          Deprecated. Initialize the pinger.
 void setFreezeTimeout(Period freezeTimeout)
          Deprecated. use HealthSystemHealthCheck.setFreezeTimeout
 void setInitialSleepTime(Period initialSleepTime)
          Deprecated. use HealthSystem.setDelay
 void setRetryTime(Period retryTime)
          Deprecated. use HealthSystem.setRetryPeriod
 void setSleepTime(Period sleepTime)
          Deprecated. use HealthSystem.setPeriod
 void setTryCount(int tryCount)
          Deprecated. use HealthSystem.setRecheckMax
 
Methods inherited from class com.caucho.health.check.HttpStatusHealthCheck
addUrl, setPingHost, setPingPort, setRegexp, setSocketTimeout
 
Methods inherited from class com.caucho.env.health.HttpStatusHealthCheckImpl
checkHealth, checkPing, getPingHost, getPingPort, getRegexp, getSocketTimeout, getUrls, readResponse, setSocketTimeout, toString
 
Methods inherited from class com.caucho.health.check.AbstractHealthCheck
findDelegate, getDelegate, getName, isEnabled, setEnabled, setName, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PingThread

public PingThread()
Deprecated. 
Method Detail

init

@PostConstruct
public void init()
Deprecated. 
Description copied from class: HttpStatusHealthCheckImpl
Initialize the pinger.

Overrides:
init in class HttpStatusHealthCheck

setFreezeTimeout

@Deprecated
@Configurable
public void setFreezeTimeout(Period freezeTimeout)
Deprecated. use HealthSystemHealthCheck.setFreezeTimeout

Sets the response time to detect a frozen jvm


setSleepTime

@Deprecated
@Configurable
public void setSleepTime(Period sleepTime)
Deprecated. use HealthSystem.setPeriod

Sets the sleep time between pings


setInitialSleepTime

@Deprecated
@Configurable
public void setInitialSleepTime(Period initialSleepTime)
Deprecated. use HealthSystem.setDelay

Sets the sleep time on startup


setRetryTime

@Deprecated
@Configurable
public void setRetryTime(Period retryTime)
Deprecated. use HealthSystem.setRetryPeriod

Sets the retry time between failing pings


setTryCount

@Deprecated
@Configurable
public void setTryCount(int tryCount)
Deprecated. use HealthSystem.setRecheckMax

Sets the number of times to retry before giving up