com.sun.enterprise.config.serverbeans
Interface HealthChecker

All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

public interface HealthChecker
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable

Each cluster would be configured for a ping based health check mechanism


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.Duck
 
Method Summary
 java.lang.String getIntervalInSeconds()
          Gets the value of the intervalInSeconds property.
 java.lang.String getTimeoutInSeconds()
          Gets the value of the timeoutInSeconds property.
 java.lang.String getUrl()
          Gets the value of the url property.
 void setIntervalInSeconds(java.lang.String value)
          Sets the value of the intervalInSeconds property.
 void setTimeoutInSeconds(java.lang.String value)
          Sets the value of the timeoutInSeconds property.
 void setUrl(java.lang.String value)
          Sets the value of the url property.
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 

Method Detail

getUrl

java.lang.String getUrl()
Gets the value of the url property. URL to ping so as to determine the health state of a listener. This must be a relative URL.

Returns:
possible object is String

setUrl

void setUrl(java.lang.String value)
            throws java.beans.PropertyVetoException
Sets the value of the url property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getIntervalInSeconds

@Min(value=0L)
java.lang.String getIntervalInSeconds()
Gets the value of the intervalInSeconds property. 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.

Returns:
possible object is String

setIntervalInSeconds

void setIntervalInSeconds(java.lang.String value)
                          throws java.beans.PropertyVetoException
Sets the value of the intervalInSeconds property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException

getTimeoutInSeconds

@Min(value=1L)
java.lang.String getTimeoutInSeconds()
Gets the value of the timeoutInSeconds property. 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.

Returns:
possible object is String

setTimeoutInSeconds

void setTimeoutInSeconds(java.lang.String value)
                         throws java.beans.PropertyVetoException
Sets the value of the timeoutInSeconds property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException


Copyright © 2012 GlassFish Community. All Rights Reserved.