Interface FailureDetection
-
- All Superinterfaces:
ConfigBeanProxy
public interface FailureDetection extends ConfigBeanProxy
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
ConfigBeanProxy.Duck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Min(1000L) @Max(120000L) String
getHeartbeatFrequencyInMillis()
Gets the value of the heartbeatFrequencyInMillis property.@Min(1L) String
getMaxMissedHeartbeats()
Gets the value of the maxMissedHeartbeats property.@Min(3000L) @Max(120000L) String
getVerifyFailureConnectTimeoutInMillis()
Gets the value of the verifyFailureConnectTimeoutInMillis.@Min(1500L) @Max(120000L) String
getVerifyFailureWaittimeInMillis()
Gets the value of the verifyFailureWaittimeInMillis property.void
setHeartbeatFrequencyInMillis(String value)
Sets the value of heartbeatFrequencyInMillis property.void
setMaxMissedHeartbeats(String value)
Sets the value of the maxMissedHeartbeats property.void
setVerifyFailureConnectTimeoutInMillis(String value)
sets the value of the verifyFailureConnectTimeoutInMillis.void
setVerifyFailureWaittimeInMillis(String value)
Sets the value of the verifyFailureWaittimeInMillis property.-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
-
-
-
Method Detail
-
getMaxMissedHeartbeats
@Min(1L) @Min(1L) 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(String value) throws PropertyVetoException
Sets the value of the maxMissedHeartbeats property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getHeartbeatFrequencyInMillis
@Min(1000L) @Max(120000L) @Min(1000L) @Max(120000L) String getHeartbeatFrequencyInMillis()
Gets the value of the heartbeatFrequencyInMillis property. Must be a positive integer.- Returns:
- possible object is
String
-
setHeartbeatFrequencyInMillis
void setHeartbeatFrequencyInMillis(String value) throws PropertyVetoException
Sets the value of heartbeatFrequencyInMillis property.- Parameters:
value
- allowed isString
- Throws:
PropertyVetoException
-
setVerifyFailureWaittimeInMillis
void setVerifyFailureWaittimeInMillis(String value) throws PropertyVetoException
Sets the value of the verifyFailureWaittimeInMillis property.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
-
getVerifyFailureWaittimeInMillis
@Min(1500L) @Max(120000L) @Min(1500L) @Max(120000L) 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(String value) throws PropertyVetoException
sets the value of the verifyFailureConnectTimeoutInMillis.- Parameters:
value
- allowed object isString
- Throws:
PropertyVetoException
- Since:
- glassfish v3.1
-
getVerifyFailureConnectTimeoutInMillis
@Min(3000L) @Max(120000L) @Min(3000L) @Max(120000L) String getVerifyFailureConnectTimeoutInMillis()
Gets the value of the verifyFailureConnectTimeoutInMillis.- Returns:
- Since:
- glassfish v3.1
-
-