@Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    ProcessorLocality that = (ProcessorLocality) o;
    return Objects.equals(id, that.id)
        && Objects.equals(host, that.host)
        && Objects.equals(jmxUrl, that.jmxUrl)
        && Objects.equals(jmxTunnelingUrl, that.jmxTunnelingUrl);
  }
A data model to represent the processor locality information. The locality information refers to the whereabouts
of the physical execution of container.
Fields such as <i>jmxUrl</i> and <i>jmxTunnelingUrl</i> exist for backward compatibility reasons as they were
historically stored under the same name space as locality and surfaced within the framework through the locality
manager.
samza-api/src/main/java/org/apache/samza/job/model/ProcessorLocality.java