public void addTask(GenericClusterRequest task){
  tasksById.put(task.taskId,task);
  tasksAwaitingDelivery.add(task);
}

public void addTask ( GenericClusterRequest task ) { tasksById . put ( task . taskId , task ) ; tasksAwaitingDelivery . add ( task ) ; }
adds a task to this job , assigning it a task id number .
