Interface GroupManagementService
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.glassfish.api.admin.config.ConfigExtension,org.glassfish.api.admin.config.Container,org.jvnet.hk2.config.types.PropertyBag
- 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.
-
Method Summary
Modifier and TypeMethodDescription@NotNull FailureDetectionGets the value of thegroupManagementServiceproperty.Deprecated.Deprecated.Replaced byFailureDetection.getHeartbeatFrequencyInMillis().@Min(1000L) @Max(120000L) StringGets the value of thegroupDiscoveryTimeoutInMillisproperty.Deprecated.Deprecated.Deprecated.List<org.jvnet.hk2.config.types.Property>Properties as perPropertyBagDeprecated.Replaced byFailureDetection.getVerifyFailureWaittimeInMillis().voidsetFailureDetection(FailureDetection failureDetection) Sets the value of thefailureDetectionproperty.voidsetFdProtocolMaxTries(String fdProtocolMaxTries) Deprecated.Replaced byFailureDetection.setMaxMissedHeartbeats(String)voidsetFdProtocolTimeoutInMillis(String fdProtocolTimeout) Deprecated.voidsetGroupDiscoveryTimeoutInMillis(String groupDiscoveryTimeout) Sets the value of thegroupDiscoveryTimeoutInMillisproperty.voidsetMergeProtocolMaxIntervalInMillis(String maxInterval) Deprecated.voidsetMergeProtocolMinIntervalInMillis(String minInterval) Deprecated.voidsetPingProtocolTimeoutInMillis(String pingProtocolTimeout) Deprecated.voidsetVsProtocolTimeoutInMillis(String vsProtocolTimeout) Deprecated.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Method Details
-
getFailureDetection
Gets the value of thegroupManagementServiceproperty.- Returns:
- possible object is
GroupManagementService - Since:
- glassfish v3.1
-
setFailureDetection
Sets the value of thefailureDetectionproperty.- Parameters:
failureDetection- allowed object isFailureDetection- Throws:
PropertyVetoException- Since:
- glassfish v3.1
-
getGroupDiscoveryTimeoutInMillis
Gets the value of thegroupDiscoveryTimeoutInMillisproperty.Amount of time in milliseconds that GMS waits for discovery of other members in this group. Must be a positive integer.
- Returns:
- possible object is
String - Since:
- glassfish v3.1
-
setGroupDiscoveryTimeoutInMillis
Sets the value of thegroupDiscoveryTimeoutInMillisproperty.- Parameters:
groupDiscoveryTimeout- allowed object isString- Throws:
PropertyVetoException- Since:
- glassfish v3.1
-
getFdProtocolMaxTries
Deprecated.Replaced byFailureDetection.getMaxMissedHeartbeats().Gets the value of thefdProtocolMaxTriesproperty.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
-
setFdProtocolMaxTries
Deprecated.Replaced byFailureDetection.setMaxMissedHeartbeats(String)Sets the value of thefdProtocolMaxTriesproperty.- Parameters:
fdProtocolMaxTries- allowed object isString- Throws:
PropertyVetoException
-
getFdProtocolTimeoutInMillis
Deprecated.Replaced byFailureDetection.getHeartbeatFrequencyInMillis().Gets the value of thefdProtocolTimeoutInMillisproperty.Period of time between monitoring attempts to detect failure. Must be a positive integer.
- Returns:
- possible object is
String
-
setFdProtocolTimeoutInMillis
@Deprecated void setFdProtocolTimeoutInMillis(String fdProtocolTimeout) throws PropertyVetoException Deprecated.Sets the value of thefdProtocolTimeoutInMillisproperty.- Parameters:
fdProtocolTimeout- allowed object isString- Throws:
PropertyVetoException
-
getMergeProtocolMaxIntervalInMillis
Deprecated.Gets the value of themergeProtocolMaxIntervalInMillisproperty.Specifies the maximum amount of time to wait to collect subgroup information before performing a merge. Must be a positive integer.
- Returns:
- possible object is
String
-
setMergeProtocolMaxIntervalInMillis
@Deprecated void setMergeProtocolMaxIntervalInMillis(String maxInterval) throws PropertyVetoException Deprecated.Sets the value of themergeProtocolMaxIntervalInMillisproperty.- Parameters:
maxInterval- allowed object isString- Throws:
PropertyVetoException
-
getMergeProtocolMinIntervalInMillis
Deprecated.Gets the value of themergeProtocolMinIntervalInMillisproperty.Specifies the minimum amount of time to wait to collect subgroup information before performing a merge. Must be a positive integer
- Returns:
- possible object is
String
-
setMergeProtocolMinIntervalInMillis
@Deprecated void setMergeProtocolMinIntervalInMillis(String minInterval) throws PropertyVetoException Deprecated.Sets the value of themergeProtocolMinIntervalInMillisproperty.- Parameters:
minInterval- allowed object isString- Throws:
PropertyVetoException
-
getPingProtocolTimeoutInMillis
Deprecated.Gets the value of thepingProtocolTimeoutInMillisproperty.Amount of time in milliseconds that GMS waits for discovery of other members in this group. Must be a positive integer.
- Returns:
- possible object is
String - See Also:
-
setPingProtocolTimeoutInMillis
@Deprecated void setPingProtocolTimeoutInMillis(String pingProtocolTimeout) throws PropertyVetoException Deprecated.Sets the value of thepingProtocolTimeoutInMillisproperty.- Parameters:
pingProtocolTimeout- allowed object isString- Throws:
PropertyVetoException- See Also:
-
getVsProtocolTimeoutInMillis
Deprecated.Replaced byFailureDetection.getVerifyFailureWaittimeInMillis().Gets the value of thevsProtocolTimeoutInMillisproperty.After this timeout a suspected failure is marked as verified. Must be a positive integer.
- Returns:
- possible object is
String
-
setVsProtocolTimeoutInMillis
@Deprecated void setVsProtocolTimeoutInMillis(String vsProtocolTimeout) throws PropertyVetoException Deprecated.Sets the value of thevsProtocolTimeoutInMillisproperty.- Parameters:
vsProtocolTimeout- allowed object isString- Throws:
PropertyVetoException
-
getProperty
@ToDo(priority=IMPORTANT, details="Provide PropertyDesc for legal props") @PropertiesDesc(props={}) List<org.jvnet.hk2.config.types.Property> getProperty()Properties as perPropertyBag- Specified by:
getPropertyin interfaceorg.jvnet.hk2.config.types.PropertyBag
-
FailureDetection.getMaxMissedHeartbeats().