invokeMemberRemoveOperation(thisAddress);
}
private void sendMembershipEventNotifications(final MemberImpl member, Set<Member> members, final boolean added) {
final int eventType = added ? MembershipEvent.MEMBER_ADDED : MembershipEvent.MEMBER_REMOVED;
final MembershipEvent membershipEvent = new MembershipEvent(getClusterProxy(), member, eventType, members);
final Collection<MembershipAwareService> membershipAwareServices = nodeEngine.getServices(MembershipAwareService.class);
if (membershipAwareServices != null && !membershipAwareServices.isEmpty()) {
final MembershipServiceEvent event = new MembershipServiceEvent(membershipEvent);
for (final MembershipAwareService service : membershipAwareServices) {
// service events should not block each other