code: synchronized List<TaskStatus> getTasksFromRunningJobs() {
      List<TaskStatus> result = new ArrayList<TaskStatus>(tasks.size());
      for (Map.Entry <JobID, RunningJob> item : runningJobs.entrySet()) {
        RunningJob rjob = item.getValue();
        synchronized (rjob) {
          for (TaskInProgress tip : rjob.tasks) {
            result.add(tip.getStatus());
          }
        }
      }
      return result;
    }
docs: Get the list of tasks from running jobs on this task tracker.
  @return a copy of the list of TaskStatus objects