code: public void recordTask(String trackerName) {
      synchronized (this) {
        NodeUsageReport usageReport = getReportUnprotected(trackerName);
        usageReport.setNumTotalTasks(usageReport.getNumTotalTasks() + 1);
      }
    }
docs: Increment the number of tasks assigned to a tracker.
  @param trackerName The name of the tracker.