Java EE 5 SDK

com.sun.appserv.management.config
Interface HealthCheckerConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, NotificationBroadcaster, NotificationEmitter

public interface HealthCheckerConfig
extends AMXConfig

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


Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
Fields inherited from interface com.sun.appserv.management.base.AMX
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Method Summary
 String getIntervalInSeconds()
          Returns interval, in seconds, between health checks.
 String getTimeoutInSeconds()
          Return the maximum time, in seconds, that a server must respond to a health check request to be considered healthy.
 String getURL()
          Returns the relative URL to ping to determine the health state of a listener.
 void setIntervalInSeconds(String intervalInSeconds)
          Set the interval, in seconds, between health checks.
 void setTimeoutInSeconds(String timeoutInSeconds)
          Set the maximum time, in seconds, that a server must respond to a health check request to be considered healthy.
 void setURL(String url)
          Sets the relative URL to ping to determine the health state of a listener.
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values
Method Detail

getURL

String getURL()
Returns the relative URL to ping to determine the health state of a listener.


setURL

void setURL(String url)
Sets the relative URL to ping to determine the health state of a listener.


getIntervalInSeconds

String getIntervalInSeconds()
Returns interval, in seconds, between health checks. A value of "0" means that the health check is disabled.


setIntervalInSeconds

void setIntervalInSeconds(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.


getTimeoutInSeconds

String getTimeoutInSeconds()
Return the maximum time, in seconds, that a server must respond to a health check request to be considered healthy.


setTimeoutInSeconds

void setTimeoutInSeconds(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.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.