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 Address getMemberJoined(List<Address> oldList, List<Address> newList)
           
static Address getMemberLeft(List<Address> oldList, List<Address> newList)
           
static List<Address> getMembersJoined(List<Address> oldList, List<Address> newList)
           
static List<Address> getMembersLeft(List<Address> oldList, List<Address> newList)
           
 
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)

getMemberJoined

public static Address getMemberJoined(List<Address> oldList,
                                      List<Address> newList)

getMemberLeft

public static Address getMemberLeft(List<Address> oldList,
                                    List<Address> newList)

Google Analytics

Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.