public interface GroupCommunicationService
Modifier and Type | Method and Description |
---|---|
ClusterNode |
getClusterNode()
Gets the object that represents this node in the current group.
|
List<ClusterNode> |
getClusterNodes()
Gets the member nodes that comprise the current group membership.
|
long |
getCurrentViewId()
Identifier for the current group topology.
|
String |
getGroupName()
The name of the group with which communication occurs.
|
String |
getNodeName()
Return the name of this node in the current group.
|
boolean |
isConsistentWith(GroupCommunicationService other)
Gets whether this GroupCommunicationService is logically consistent with another service; e.g.
|
boolean |
isCoordinator()
Indicates whether this node is the group coordinator.
|
ClusterNode getClusterNode()
String getNodeName()
getClusterNode().getName()
.getClusterNode()
String getGroupName()
List<ClusterNode> getClusterNodes()
long getCurrentViewId()
boolean isConsistentWith(GroupCommunicationService other)
other
- the other GroupCommunicationService. Cannot be null
.true
if an application can use this service and other
together to interact with the
same set of nodes.boolean isCoordinator()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.