public int getFailureDetectionPort(ID mbr) {
    int idx = members.indexOf(mbr);
    if (idx < 0 || idx >= failureDetectionPorts.length) {
      return -1;
    }
    return failureDetectionPorts[idx];
  }
Create a new view with the contents of the given view and the specified view ID
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/GMSMembershipView.java