public ProcessorLocality getProcessorLocality(String processorId) {
    return processorLocalities.get(processorId);
  }
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