|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HealthCheckerConfigCR
Supports creation and removal of health checker configurations.
| Method Summary | |
|---|---|
HealthCheckerConfig |
createHealthCheckerConfig(String url,
String intervalInSeconds,
String timeoutInSeconds)
Creates a new health-checker. |
HealthCheckerConfig |
getHealthCheckerConfig()
|
void |
removeHealthCheckerConfig()
Removes a health checker config from the container config element |
| Method Detail |
|---|
HealthCheckerConfig createHealthCheckerConfig(String url,
String intervalInSeconds,
String timeoutInSeconds)
url - URL to ping so as to determine the health state of a
listener. This must be a relative URL.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.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.
void removeHealthCheckerConfig()
HealthCheckerConfig getHealthCheckerConfig()
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.