public ID getCoordinator() {
    synchronized (membersLock) {
      for (ID addr : members) {
        if (addr.preferredForCoordinator()) {
          return addr;
        }
      }
      if (members.size() > 0) {
        return members.get(0);
      }
    }
    return null;
  }
return members added in this view
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/GMSMembershipView.java