org.infinispan.remoting
Class MembershipArithmetic

java.lang.Object
  extended by 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

Constructor Summary
MembershipArithmetic()
           
 
Method Summary
static List<Address> getMembersJoined(List<Address> oldList, List<Address> newList)
           
static Set<Address> getMembersJoined(Set<Address> oldSet, Set<Address> newSet)
           
static List<Address> getMembersLeft(List<Address> oldList, List<Address> newList)
           
static Set<Address> getMembersLeft(Set<Address> oldSet, Set<Address> newSet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MembershipArithmetic

public MembershipArithmetic()
Method Detail

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.