@Override
  public int hashCode() {
    int result = preferredHost.hashCode();
    result = 31 * result + taskName.hashCode();
    result = 31 * result + containerId.hashCode();
    result = 31 * result + partitions.hashCode();
    result = 31 * result + storeNames.hashCode();
    return result;
  }
Provides a client view of a samza task.
Includes the preferred preferredHost, taskName, containerId, containerId and list of partitions.
samza-rest/src/main/java/org/apache/samza/rest/model/Task.java