public class LargestWinningPolicy extends GMS.DefaultMembershipPolicy
Constructor and Description |
---|
LargestWinningPolicy() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Address> |
getNewMembership(java.util.Collection<java.util.Collection<Address>> subviews)
Called when a merge happened.
|
getNewMembership, getNewMembershipOld
public java.util.List<Address> getNewMembership(java.util.Collection<java.util.Collection<Address>> subviews)
getNewMembership
in interface MembershipChangePolicy
getNewMembership
in class GMS.DefaultMembershipPolicy
subviews
- A list of membership lists, e.g. [{A,B,C}, {M,N,O,P}, {X,Y,Z}]. This is a merge between
3 subviews. Guaranteed to be non-null (but may be empty)Copyright © 1998-2020 Red Hat. All Rights Reserved.