com.sun.enterprise.config.serverbeans
Interface GroupManagementService

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

public interface GroupManagementService
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.component.Injectable, org.jvnet.hk2.config.types.PropertyBag

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.Duck
 
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
org.jvnet.hk2.config.types.PropertyBag.Duck
 
Method Summary
 FailureDetection getFailureDetection()
          Gets the value of the groupManagementService property.
 java.lang.String getFdProtocolMaxTries()
          Deprecated. 
 java.lang.String getFdProtocolTimeoutInMillis()
          Deprecated. 
 java.lang.String getGroupDiscoveryTimeoutInMillis()
          Gets the value of the groupDiscoveryTimeoutInMillis property.
 java.lang.String getMergeProtocolMaxIntervalInMillis()
          Deprecated. 
 java.lang.String getMergeProtocolMinIntervalInMillis()
          Deprecated. 
 java.lang.String getPingProtocolTimeoutInMillis()
          Deprecated. 
 java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
          Properties as per PropertyBag
 java.lang.String getVsProtocolTimeoutInMillis()
          Deprecated. 
 void setFailureDetection(FailureDetection value)
          Sets the value of the failureDetection property
 void setFdProtocolMaxTries(java.lang.String value)
          Deprecated. 
 void setFdProtocolTimeoutInMillis(java.lang.String value)
          Deprecated. 
 void setGroupDiscoveryTimeoutInMillis(java.lang.String value)
          Sets the value of the groupDiscoveryTimeoutInMillis property.
 void setMergeProtocolMaxIntervalInMillis(java.lang.String value)
          Deprecated. 
 void setMergeProtocolMinIntervalInMillis(java.lang.String value)
          Deprecated. 
 void setPingProtocolTimeoutInMillis(java.lang.String value)
          Deprecated. 
 void setVsProtocolTimeoutInMillis(java.lang.String value)
          Deprecated. 
 
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
 
Methods inherited from interface org.jvnet.hk2.component.Injectable
injectedInto
 
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
getProperty, getPropertyValue, getPropertyValue
 

Method Detail

getFailureDetection

@NotNull
FailureDetection getFailureDetection()
Gets the value of the groupManagementService property.

Returns:
possible object is GroupManagementService
Since:
glassfish v3.1

setFailureDetection

void setFailureDetection(FailureDetection value)
                         throws java.beans.PropertyVetoException
Sets the value of the failureDetection property

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

getGroupDiscoveryTimeoutInMillis

@Min(value=1000L)
@Max(value=120000L)
java.lang.String 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

void setGroupDiscoveryTimeoutInMillis(java.lang.String value)
                                      throws java.beans.PropertyVetoException
Sets the value of the groupDiscoveryTimeoutInMillis property.

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

getFdProtocolMaxTries

@Deprecated
java.lang.String 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
void setFdProtocolMaxTries(java.lang.String value)
                           throws java.beans.PropertyVetoException
Deprecated. 

Sets the value of the fdProtocolMaxTries property.

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

getFdProtocolTimeoutInMillis

@Deprecated
java.lang.String 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
void setFdProtocolTimeoutInMillis(java.lang.String value)
                                  throws java.beans.PropertyVetoException
Deprecated. 

Sets the value of the fdProtocolTimeoutInMillis property.

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

getMergeProtocolMaxIntervalInMillis

@Deprecated
java.lang.String 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
void setMergeProtocolMaxIntervalInMillis(java.lang.String value)
                                         throws java.beans.PropertyVetoException
Deprecated. 

Sets the value of the mergeProtocolMaxIntervalInMillis property.

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

getMergeProtocolMinIntervalInMillis

@Deprecated
java.lang.String 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
void setMergeProtocolMinIntervalInMillis(java.lang.String value)
                                         throws java.beans.PropertyVetoException
Deprecated. 

Sets the value of the mergeProtocolMinIntervalInMillis property.

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

getPingProtocolTimeoutInMillis

@Deprecated
java.lang.String 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:
getGroupDiscoveryTimeoutInMillis()

setPingProtocolTimeoutInMillis

@Deprecated
void setPingProtocolTimeoutInMillis(java.lang.String value)
                                    throws java.beans.PropertyVetoException
Deprecated. 

Sets the value of the pingProtocolTimeoutInMillis property.

Parameters:
value - allowed object is String
Throws:
java.beans.PropertyVetoException
See Also:
setGroupDiscoveryTimeoutInMillis(String)

getVsProtocolTimeoutInMillis

@Deprecated
java.lang.String 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
void setVsProtocolTimeoutInMillis(java.lang.String value)
                                  throws java.beans.PropertyVetoException
Deprecated. 

Sets the value of the vsProtocolTimeoutInMillis property.

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

getProperty

@ToDo(priority=IMPORTANT,
      details="Provide PropertyDesc for legal props")
@PropertiesDesc(props={})
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
Properties as per PropertyBag

Specified by:
getProperty in interface org.jvnet.hk2.config.types.PropertyBag


Copyright © 2012 GlassFish Community. All Rights Reserved.