org.apache.axis2.clustering.tribes
Class TribesClusterManager

java.lang.Object
  extended by org.apache.axis2.clustering.tribes.TribesClusterManager
All Implemented Interfaces:
ClusterManager, ParameterInclude

public class TribesClusterManager
extends java.lang.Object
implements ClusterManager


Field Summary
static int MSG_ORDER_OPTION
           
 
Constructor Summary
TribesClusterManager()
           
 
Method Summary
 void addParameter(Parameter param)
          Method addParameter.
 void deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
           
 ConfigurationManager getConfigurationManager()
           
 ContextManager getContextManager()
           
 Parameter getParameter(java.lang.String name)
          Method getParameter.
 java.util.ArrayList getParameters()
          Gets all the parameters in a given description.
 void init()
          Initialize the ClusteManager
 boolean isParameterLocked(java.lang.String parameterName)
          Checks whether the parameter is locked at any level.
 void removeParameter(Parameter param)
           
 void setConfigurationContext(ConfigurationContext configurationContext)
          Set the configuration context
 void setConfigurationManager(ConfigurationManager configurationManager)
           
 void setContextManager(ContextManager contextManager)
           
 void shutdown()
           
 boolean synchronizeAllMembers()
          Method to check whether all members in the cluster have to be kep in sync at all times.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_ORDER_OPTION

public static final int MSG_ORDER_OPTION
See Also:
Constant Field Values
Constructor Detail

TribesClusterManager

public TribesClusterManager()
Method Detail

getContextManager

public ContextManager getContextManager()
Specified by:
getContextManager in interface ClusterManager
Returns:
The ContextManager

getConfigurationManager

public ConfigurationManager getConfigurationManager()
Specified by:
getConfigurationManager in interface ClusterManager
Returns:
The ConfigurationManager

init

public void init()
          throws ClusteringFault
Description copied from interface: ClusterManager
Initialize the ClusteManager

Specified by:
init in interface ClusterManager
Throws:
ClusteringFault

setConfigurationManager

public void setConfigurationManager(ConfigurationManager configurationManager)
Specified by:
setConfigurationManager in interface ClusterManager

setContextManager

public void setContextManager(ContextManager contextManager)
Specified by:
setContextManager in interface ClusterManager

addParameter

public void addParameter(Parameter param)
                  throws AxisFault
Description copied from interface: ParameterInclude
Method addParameter.

Specified by:
addParameter in interface ParameterInclude
Throws:
AxisFault

deserializeParameters

public void deserializeParameters(org.apache.axiom.om.OMElement parameterElement)
                           throws AxisFault
Specified by:
deserializeParameters in interface ParameterInclude
Throws:
AxisFault

getParameter

public Parameter getParameter(java.lang.String name)
Description copied from interface: ParameterInclude
Method getParameter.

Specified by:
getParameter in interface ParameterInclude
Returns:
Returns Parameter.

getParameters

public java.util.ArrayList getParameters()
Description copied from interface: ParameterInclude
Gets all the parameters in a given description.

Specified by:
getParameters in interface ParameterInclude
Returns:
Returns ArrayList.

isParameterLocked

public boolean isParameterLocked(java.lang.String parameterName)
Description copied from interface: ParameterInclude
Checks whether the parameter is locked at any level.

Specified by:
isParameterLocked in interface ParameterInclude

removeParameter

public void removeParameter(Parameter param)
                     throws AxisFault
Specified by:
removeParameter in interface ParameterInclude
Throws:
AxisFault

shutdown

public void shutdown()
              throws ClusteringFault
Specified by:
shutdown in interface ClusterManager
Throws:
ClusteringFault

setConfigurationContext

public void setConfigurationContext(ConfigurationContext configurationContext)
Description copied from interface: ClusterManager
Set the configuration context

Specified by:
setConfigurationContext in interface ClusterManager

synchronizeAllMembers

public boolean synchronizeAllMembers()
Method to check whether all members in the cluster have to be kep in sync at all times. Typically, this will require each member in the cluster to ACKnowledge receipt of a particular message, which may have a significant performance hit.

Returns:
true - if all members in the cluster should be kept in sync at all times, false otherwise


Copyright © 2007 Apache Web Services Project. All Rights Reserved.