public void addMembershipListener(MembershipListener listener) {
    membershipListeners.putIfAbsent(listener, Boolean.TRUE);
  }
Add listener to the list to receive notification when a profile is added or removed. Note that
there is no guarantee that the listener will not get redundant calls, but the listener is
guaranteed to get a call.
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionAdvisor.java