@Override
  public int hashCode() {
    return Objects.hash(processorLocalities);
  }
Construct locality model for the job from the input map of processor localities.
@param processorLocalities host locality information for the job keyed by processor id
samza-api/src/main/java/org/apache/samza/job/model/LocalityModel.java