@Override
    protected Set addListenerAndGetMembers() {
      DistributionAdvisor da = advisee.getDistributionAdvisor();
      if (da.useAdminMembersForDefault()) {
        return getDistributionManager().addAllMembershipListenerAndGetAllIds(this);
      } else {
        return super.addListenerAndGetMembers();
      }
    }
Registers this processor as a membership listener and returns a set of the current members.

@return a Set of the current members
@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/internal/cache/UpdateAttributesProcessor.java