org.infinispan.remoting
Class MembershipArithmetic
java.lang.Object
org.infinispan.remoting.MembershipArithmetic
public class MembershipArithmetic
- extends Object
A helper to perform common arithmetic functions with membership lists
- Since:
- 4.0
- Author:
- Manik Surtani
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MembershipArithmetic
public MembershipArithmetic()
getMembersJoined
public static List<Address> getMembersJoined(List<Address> oldList,
List<Address> newList)
getMembersLeft
public static List<Address> getMembersLeft(List<Address> oldList,
List<Address> newList)
getMembersJoined
public static Set<Address> getMembersJoined(Set<Address> oldSet,
Set<Address> newSet)
getMembersLeft
public static Set<Address> getMembersLeft(Set<Address> oldSet,
Set<Address> newSet)
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.