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