Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ha.framework » server » [javadoc | source]
org.jboss.ha.framework.server
public interface: ClusterPartitionMBean [javadoc | source]

All Implemented Interfaces:
    ServiceMBean

All Known Implementing Classes:
    ClusterPartition

MBean interface for ClusterPartition. It will start a JGroups channel and initialize the ReplicantManager and DistributedStateService.
Field Summary
 ObjectName OBJECT_NAME     
Method from org.jboss.ha.framework.server.ClusterPartitionMBean Summary:
getAllowSynchronousMembershipNotifications,   getCacheConfigName,   getCacheManager,   getChannelFactory,   getChannelStackName,   getClusteredCache,   getCurrentView,   getDeadlockDetection,   getDistributedReplicantManager,   getDistributedStateService,   getHAPartition,   getJGroupsVersion,   getMethodCallTimeout,   getNodeAddress,   getNodeName,   getPartitionName,   getStateTransferTimeout,   setAllowSynchronousMembershipNotifications,   setMethodCallTimeout,   setStateTransferTimeout,   showHistory,   showHistoryAsXML
Method from org.jboss.ha.framework.server.ClusterPartitionMBean Detail:
 public boolean getAllowSynchronousMembershipNotifications()
    Returns whether this partition will synchronously notify any HAPartition.HAMembershipListener of membership changes using the calling thread from the underlying group communications layer (e.g. JGroups).
 public String getCacheConfigName()
    Gets the configuration name under which our cache is registered with the cache manager.
 public CacheManager getCacheManager()
    Gets the CacheManager from which we get our cache.
 public ChannelFactory getChannelFactory()
    Gets the JGroups channel factory used by ClusterPartition.
 public String getChannelStackName()
    Gets the name of the JGroups channel protocol stack configuration provided to the channel factory .
 public Cache getClusteredCache()
    Gets the JBoss Cache used by this partition for state management.
 public Vector getCurrentView()
    Return the list of member nodes that built from the current view
 public boolean getDeadlockDetection()
    Determine if deadlock detection is enabled
 public DistributedReplicantManager getDistributedReplicantManager()
    Access to the DistributedReplicantManager implementation
 public DistributedState getDistributedStateService()Deprecated! Use -  JBoss Cache for distributed caching

    Access to the DistributedState implementation
 public HAPartition getHAPartition()
    Access to the underlying HAPartition without going through JNDI
 public String getJGroupsVersion()
    The version of JGroups this is running on
 public long getMethodCallTimeout()
 public InetAddress getNodeAddress()
    The node address used to generate the node name
 public String getNodeName()
    Uniquely identifies this node. MUST be unique accros the whole cluster! Cannot be changed once the partition has been started (otherwise an exception is thrown)
 public String getPartitionName()
    Name of the partition being built. All nodes/services belonging to a partition with the same name are clustered together.
 public long getStateTransferTimeout()
 public  void setAllowSynchronousMembershipNotifications(boolean allowSync)
    Sets whether this partition will synchronously notify any HAPartition.HAMembershipListener of membership changes using the calling thread from the underlying group communications layer (e.g. JGroups).
 public  void setMethodCallTimeout(long timeout)
 public  void setStateTransferTimeout(long timeout)
 public String showHistory()
 public String showHistoryAsXML()