@Override
  public boolean equals(Object obj) {
    if (this == obj) {
      return true;
    }
    if (obj == null) {
      return false;
    }
    if (!(obj instanceof Endpoint)) {
      return false;
    }
    final Endpoint other = (Endpoint) obj;

    if (!location.equals(other.getLocation())) {
      return false;
    }

    return memberId.equals(other.getMemberId());
  }
@return the location of this server
geode-core/src/main/java/org/apache/geode/cache/client/internal/Endpoint.java