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

HealthCheckerConfigCR

public interface HealthCheckerConfigCR
Supports creation and removal of health checker configurations.

Fields Summary
Constructors Summary
Methods Summary
public HealthCheckerConfigcreateHealthCheckerConfig(java.lang.String url, java.lang.String intervalInSeconds, java.lang.String timeoutInSeconds)
Creates a new health-checker.

param
url URL to ping so as to determine the health state of a listener. This must be a relative URL.
param
intervalInSeconds Interval, in seconds, between health checks. A value of "0" means that the health check is disabled. Default is 30 seconds. Must be 0 or greater.
param
timeoutInSeconds 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.
return
A proxy to the HealthCheckerConfig MBean.

public HealthCheckerConfiggetHealthCheckerConfig()

return
A proxy to the HealthCheckerConfig MBean. Could be null because the HealthCheckerConfig may not be present.

public voidremoveHealthCheckerConfig()
Removes a health checker config from the container config element