public interface TopologyMember extends Serializable
Each TopologyMember represents a single server and possibly any backup server that may take over its duties (using the nodeId of the original server).
Modifier and Type | Method and Description |
---|---|
TransportConfiguration |
getBackup()
Returns the TransportConfiguration relative to the backup server if any.
|
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() |
boolean |
isMember(RemotingConnection connection)
Returns true if this TopologyMember is the target of this remoting connection
|
boolean |
isMember(TransportConfiguration configuration)
Returns true if this configuration is the target of this remoting connection
|
String getBackupGroupName()
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.
backup-group-name
TransportConfiguration getLive()
TransportConfiguration getBackup()
TransportConfiguration
for the backup, or null} if the live server has no
backup server.String getNodeId()
long getUniqueEventID()
boolean isMember(RemotingConnection connection)
connection
- boolean isMember(TransportConfiguration configuration)
configuration
- Copyright © 2018 JBoss by Red Hat. All rights reserved.