org.hornetq.api.core.client
Interface TopologyMember

All Superinterfaces:
Serializable

public interface TopologyMember
extends Serializable

A member of the topology.

Each TopologyMember represents a single server and possibly any backup server that may take over its duties (using the nodeId of the original server).


Method Summary
 TransportConfiguration getBackup()
           
 String getBackupGroupName()
          Returns the backup-group-name of the live server and backup servers associated with Topology entry.
 TransportConfiguration getLive()
           
 String getNodeId()
          Returns the nodeId of the server.
 long getUniqueEventID()
           
 

Method Detail

getBackupGroupName

String getBackupGroupName()
Returns the backup-group-name of the live server and backup servers associated with Topology entry.

This is a server configuration value. A (remote) backup will only work with live servers that have a matching backup-group-name.

This value does not apply to "shared-storage" backup and live pairs.

Returns:
the backup-group-name

getLive

TransportConfiguration getLive()

getBackup

TransportConfiguration getBackup()

getNodeId

String getNodeId()
Returns the nodeId of the server.

Returns:
the nodeId

getUniqueEventID

long getUniqueEventID()
Returns:


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