FileDocCategorySizeDatePackage
HealthCheckerConfig.javaAPI DocGlassfish v2 API3801Fri May 04 22:30:34 BST 2007com.sun.appserv.management.config

HealthCheckerConfig

public interface HealthCheckerConfig implements AMXConfig
EE only Each cluster would be configured for a ping based health check mechanism. Base interface for such a Health Checker.

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
Constructors Summary
Methods Summary
public java.lang.StringgetIntervalInSeconds()
Returns interval, in seconds, between health checks. A value of "0" means that the health check is disabled.

public java.lang.StringgetTimeoutInSeconds()
Return the maximum time, in seconds, that a server must respond to a health check request to be considered healthy.

public java.lang.StringgetURL()
Returns the relative URL to ping to determine the health state of a listener.

public voidsetIntervalInSeconds(java.lang.String intervalInSeconds)
Set the interval, in seconds, between health checks. A value of "0" means that the health check will be disabled. Default is 30 seconds. Must be 0 or greater.

public voidsetTimeoutInSeconds(java.lang.String timeoutInSeconds)
Set the maximum time, in seconds, that a server must respond to a health check request to be considered healthy. Default is 10 seconds. Must be greater than 0.

public voidsetURL(java.lang.String url)
Sets the relative URL to ping to determine the health state of a listener.