com.sun.enterprise.config.serverbeans
Interface FailureDetection

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

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

failure-detection enables its members to periodically monitor other group members to determine their availability in the group. group-discovery is used for discovery of group & its members. failure-detection.verify-failure-timeout-in-millis verifies suspect instances by adding a verification layer to mark a failure suspicion as a confirmed failure.

Since:
glassfish v3.1

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 getHeartbeatFrequencyInMillis()
          Gets the value of the heartbeatFrequencyInMillis property.
 java.lang.String getMaxMissedHeartbeats()
          Gets the value of the maxMissedHeartbeats property.
 java.lang.String getVerifyFailureConnectTimeoutInMillis()
          Gets the value of the verifyFailureConnectTimeoutInMillis.
 java.lang.String getVerifyFailureWaittimeInMillis()
          Gets the value of the verifyFailureWaittimeInMillis property.
 void setHeartbeatFrequencyInMillis(java.lang.String value)
          Sets the value of heartbeatFrequencyInMillis property.
 void setMaxMissedHeartbeats(java.lang.String value)
          Sets the value of the maxMissedHeartbeats property.
 void setVerifyFailureConnectTimeoutInMillis(java.lang.String value)
          sets the value of the verifyFailureConnectTimeoutInMillis.
 void setVerifyFailureWaittimeInMillis(java.lang.String value)
          Sets the value of the verifyFailureWaittimeInMillis 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

getMaxMissedHeartbeats

@Min(value=1L)
java.lang.String getMaxMissedHeartbeats()
Gets the value of the maxMissedHeartbeats property.

Maximum number of attempts to try before GMS confirms that a failure is suspected in the group. Must be a positive integer.

Returns:
possible object is String

setMaxMissedHeartbeats

void setMaxMissedHeartbeats(java.lang.String value)
                            throws java.beans.PropertyVetoException
Sets the value of the maxMissedHeartbeats property.

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

getHeartbeatFrequencyInMillis

@Min(value=1000L)
@Max(value=120000L)
java.lang.String getHeartbeatFrequencyInMillis()
Gets the value of the heartbeatFrequencyInMillis property.

Must be a positive integer.

Returns:
possible object is String

setHeartbeatFrequencyInMillis

void setHeartbeatFrequencyInMillis(java.lang.String value)
                                   throws java.beans.PropertyVetoException
Sets the value of heartbeatFrequencyInMillis property.

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

setVerifyFailureWaittimeInMillis

void setVerifyFailureWaittimeInMillis(java.lang.String value)
                                      throws java.beans.PropertyVetoException
Sets the value of the verifyFailureWaittimeInMillis property.

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

getVerifyFailureWaittimeInMillis

@Min(value=1500L)
@Max(value=120000L)
java.lang.String getVerifyFailureWaittimeInMillis()
Gets the value of the verifyFailureWaittimeInMillis property.

After this timeout a suspected failure is marked as verified. Must be a positive integer.

Returns:
possible object is String

setVerifyFailureConnectTimeoutInMillis

void setVerifyFailureConnectTimeoutInMillis(java.lang.String value)
                                            throws java.beans.PropertyVetoException
sets the value of the verifyFailureConnectTimeoutInMillis.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException
Since:
glassfish v3.1

getVerifyFailureConnectTimeoutInMillis

@Min(value=3000L)
@Max(value=120000L)
java.lang.String getVerifyFailureConnectTimeoutInMillis()
Gets the value of the verifyFailureConnectTimeoutInMillis.

Since:
glassfish v3.1


Copyright © 2012 GlassFish Community. All Rights Reserved.