*/
@SuppressWarnings("deprecation")
public Counters getCounters() {
synchronized (lockObject) {
Counters result = new Counters();
result.incrAllCounters(getJobCounters());
incrementTaskCountersUnprotected(result, maps);
return incrementTaskCountersUnprotected(result, reduces);
}
}