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
public interface GroupManagementService
extends org.jvnet.hk2.config.types.PropertyBag, org.glassfish.api.admin.config.ConfigExtension
group-management-service(GMS) is an in-process service that provides cluster monitoring and group communication
services. GMS notifies registered modules in an application server instance when one or more members in the cluster
fail (become unreachable). GMS also provides the ability to send and receive messages between a group of processes.
GMS is a abstraction layer that plugs-in group communication technologies which rely on a configurable stack of
protocols. Each of these protocols has properties that can be changed for a given network and deployment topology.
These relevant configurable protocols are: 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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
org.jvnet.hk2.config.ConfigBeanProxy.DuckNested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck -
Method Summary
Modifier and TypeMethodDescription@NotNull FailureDetectionGets the value of the groupManagementService property.Deprecated.Deprecated.@Min(1000L) @Max(120000L) StringGets the value of the groupDiscoveryTimeoutInMillis property.Deprecated.Deprecated.Deprecated.List<org.jvnet.hk2.config.types.Property>Properties as perPropertyBagDeprecated.voidSets the value of the failureDetection propertyvoidsetFdProtocolMaxTries(String value) Deprecated.voidDeprecated.voidSets the value of the groupDiscoveryTimeoutInMillis property.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.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 the groupManagementService property.- Returns:
- possible object is
GroupManagementService - Since:
- glassfish v3.1
-
setFailureDetection
Sets the value of the failureDetection property- Parameters:
value- allowed object isFailureDetection- Throws:
PropertyVetoException- Since:
- glassfish v3.1
-
getGroupDiscoveryTimeoutInMillis
Gets the value of the groupDiscoveryTimeoutInMillis property. 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 the groupDiscoveryTimeoutInMillis property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException- Since:
- glassfish v3.1
-
getFdProtocolMaxTries
Deprecated.Gets the value of the fdProtocolMaxTries 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
-
setFdProtocolMaxTries
Deprecated.Sets the value of the fdProtocolMaxTries property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getFdProtocolTimeoutInMillis
Deprecated.Gets the value of the fdProtocolTimeoutInMillis property. Period of time between monitoring attempts to detect failure. Must be a positive integer.- Returns:
- possible object is
String
-
setFdProtocolTimeoutInMillis
Deprecated.Sets the value of the fdProtocolTimeoutInMillis property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getMergeProtocolMaxIntervalInMillis
Deprecated.Gets the value of the mergeProtocolMaxIntervalInMillis property. Specifies the maximum amount of time to wait to collect sub-group information before performing a merge. Must be a positive integer.- Returns:
- possible object is
String
-
setMergeProtocolMaxIntervalInMillis
Deprecated.Sets the value of the mergeProtocolMaxIntervalInMillis property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getMergeProtocolMinIntervalInMillis
Deprecated.Gets the value of the mergeProtocolMinIntervalInMillis property. Specifies the minimum amount of time to wait to collect sub-group information before performing a merge. Must be a positive integer- Returns:
- possible object is
String
-
setMergeProtocolMinIntervalInMillis
Deprecated.Sets the value of the mergeProtocolMinIntervalInMillis property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException
-
getPingProtocolTimeoutInMillis
Deprecated.Gets the value of the pingProtocolTimeoutInMillis property. 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.Sets the value of the pingProtocolTimeoutInMillis property.- Parameters:
value- allowed object isString- Throws:
PropertyVetoException- See Also:
-
getVsProtocolTimeoutInMillis
Deprecated.Gets the value of the vsProtocolTimeoutInMillis property. After this timeout a suspected failure is marked as verified. Must be a positive integer.- Returns:
- possible object is
String
-
setVsProtocolTimeoutInMillis
Deprecated.Sets the value of the vsProtocolTimeoutInMillis property.- Parameters:
value- 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
-