@Override
  public int hashCode() {
    final int prime = 31;
    int result = 1;
    result = prime * result + ((id == null) ? 0 : id.hashCode());
    result = prime * result + ((tasks == null) ? 0 : tasks.hashCode());
    return result;
  }
Returns a map for all tasks in this container. The keys are the names of the tasks in the container and the values
are the corresponding {@link TaskModel}s.
@return map from {@link TaskName} to {@link TaskModel}
samza-api/src/main/java/org/apache/samza/job/model/ContainerModel.java