Class ViewMembership
- java.lang.Object
-
- org.wildfly.clustering.server.infinispan.dispatcher.ViewMembership
-
- All Implemented Interfaces:
org.wildfly.clustering.group.Membership
public class ViewMembership extends Object implements org.wildfly.clustering.group.Membership
A group membership based on a JGroups view.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description ViewMembership(org.jgroups.Address localAddress, org.jgroups.View view, NodeFactory<org.jgroups.Address> factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)org.wildfly.clustering.group.NodegetCoordinator()List<org.wildfly.clustering.group.Node>getMembers()inthashCode()booleanisCoordinator()StringtoString()
-
-
-
Constructor Detail
-
ViewMembership
public ViewMembership(org.jgroups.Address localAddress, org.jgroups.View view, NodeFactory<org.jgroups.Address> factory)
-
-
Method Detail
-
isCoordinator
public boolean isCoordinator()
- Specified by:
isCoordinatorin interfaceorg.wildfly.clustering.group.Membership
-
getCoordinator
public org.wildfly.clustering.group.Node getCoordinator()
- Specified by:
getCoordinatorin interfaceorg.wildfly.clustering.group.Membership
-
getMembers
public List<org.wildfly.clustering.group.Node> getMembers()
- Specified by:
getMembersin interfaceorg.wildfly.clustering.group.Membership
-
-