org.jboss.ha.framework.server.util
Interface TopologyMonitorServiceMBean

All Superinterfaces:
Service (src) , ServiceMBean (src)
All Known Implementing Classes:
TopologyMonitorService (src)

public interface TopologyMonitorServiceMBean
extends ServiceMBean (src)

A utility mbean that monitors membership of a cluster parition


Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 java.util.Vector getClusterNodes()
          Get the current cluster parition membership info
 java.lang.String getPartitionName()
          Get the cluster parition name the mbean is monitoring
 ObjectName (src) getTriggerServiceName()
          Get the trigger mbean to notify on cluster membership changes
 void setPartitionName(java.lang.String name)
          Set the cluster parition name the mbean is monitoring
 void setTriggerServiceName(ObjectName (src)  name)
          Set the trigger mbean to notify on cluster membership changes
 
Methods inherited from interface org.jboss.system.ServiceMBean (src)
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service (src)
create, destroy, start, stop
 

Method Detail

getPartitionName

public java.lang.String getPartitionName()
Get the cluster parition name the mbean is monitoring


setPartitionName

public void setPartitionName(java.lang.String name)
Set the cluster parition name the mbean is monitoring


getTriggerServiceName

public ObjectName (src)  getTriggerServiceName()
Get the trigger mbean to notify on cluster membership changes


setTriggerServiceName

public void setTriggerServiceName(ObjectName (src)  name)
Set the trigger mbean to notify on cluster membership changes


getClusterNodes

public java.util.Vector getClusterNodes()
Get the current cluster parition membership info

Returns:
a Vector of org.jgroups.Address implementations, for example, org.jgroups.stack.IpAddress