Interface TopologyMember
public interface TopologyMember
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
Modifier and TypeMethodDescriptionReturns aTransportConfigurationfor the backup, or null if the primary server has no backup server..Returns thebackup-group-nameof the primary server and backup servers associated with Topology entry.getLive()Deprecated, for removal: This API element is subject to removal in a future version.Returns the nodeId of the server.Returns configuration relative to the primary server.Returns thescale-down-group-nameof the server with this Topology entry.longReturns long value representing a unique event ID.booleanisMember(TransportConfiguration configuration) Returnstrueif this configuration is the target of this remoting connection.booleanisMember(RemotingConnection connection) Returnstrueif thisTopologyMemberis the target of this remoting connection.toURI()
-
Method Details
-
getBackupGroupName
String getBackupGroupName()Returns thebackup-group-nameof the primary server and backup servers associated with Topology entry.This is a server configuration value. A (remote) backup will only work with primary servers that have a matching
backup-group-name.This value does not apply to "shared-storage" backup and primary pairs.
- Returns:
- the
backup-group-name
-
getScaleDownGroupName
String getScaleDownGroupName()Returns thescale-down-group-nameof the server with this Topology entry.This is a server configuration value. An active server will only send its messages to another active server with matching
scale-down-group-name.- Returns:
- the
scale-down-group-name
-
getLive
Deprecated, for removal: This API element is subject to removal in a future version.Returns configuration relative to the live server.- Returns:
- configuration relative to the live server
-
getPrimary
TransportConfiguration getPrimary()Returns configuration relative to the primary server.- Returns:
- configuration relative to the primary server
-
getBackup
TransportConfiguration getBackup()Returns aTransportConfigurationfor the backup, or null if the primary server has no backup server..- Returns:
- a
TransportConfigurationfor the backup, or null if the primary server has no backup server.
-
getNodeId
-
getUniqueEventID
long getUniqueEventID()Returns long value representing a unique event ID.- Returns:
- long value representing a unique event ID
-
isMember
Returnstrueif thisTopologyMemberis the target of this remoting connection.- Returns:
trueif thisTopologyMemberis the target of this remoting connection
-
isMember
Returnstrueif this configuration is the target of this remoting connection.- Returns:
trueif this configuration is the target of this remoting connection
-
toURI
String toURI()
-