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

All Superinterfaces:
Service, ServiceMBean
All Known Implementing Classes:
TopologyMonitorService

public interface TopologyMonitorServiceMBean
extends ServiceMBean

A utility mbean that monitors membership of a cluster parition

Version:
$Revision: 81001 $
Author:
Scott.Stark@jboss.org

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

Method Detail

getPartitionName

String getPartitionName()
Get the name of the cluster partition the mbean is monitoring


setPartitionName

void setPartitionName(String name)
Deprecated. use setPartition(HAPartition)

Set the cluster parition name the mbean is monitoring


setPartition

void setPartition(org.jboss.ha.framework.interfaces.HAPartition partition)
Set the cluster partition the mbean is monitoring


getTriggerServiceName

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


setTriggerServiceName

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


getClusterNodes

Vector getClusterNodes()
Get the current cluster parition membership info

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


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.