public synchronized void setBytesSent(long bytesSent) { deadBytesSent = bytesSent; for (int i = 0; i < processors.size(); i++) { RequestInfo rp = processors.get(i); rp.setBytesSent(bytesSent); } }