Interface GroupMembershipEvent<M extends GroupMember>
- Type Parameters:
M- the group member type
- All Known Subinterfaces:
GroupMembershipMergeEvent<M>
public interface GroupMembershipEvent<M extends GroupMember>
Encapsulates a
GroupMembership event.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current group membership.Returns the set of members that joined the group.Returns the set of members that left the group.Returns the previous group membership.
-
Method Details
-
getPreviousMembership
GroupMembership<M> getPreviousMembership()Returns the previous group membership.- Returns:
- the previous group membership.
-
getCurrentMembership
GroupMembership<M> getCurrentMembership()Returns the current group membership.- Returns:
- the current group membership.
-
getLeavers
-
getJoiners
-