protected void printProducers(PrintWriter writer, Map<String, String> clients, Map<String, String> queues, Map<String, String> topics) {
synchronized (lock) {
for (Iterator iter = producerDestinations.entrySet().iterator(); iter.hasNext();) {
Map.Entry entry = (Map.Entry)iter.next();
ProducerId producerId = (ProducerId)entry.getKey();
Set destinationSet = (Set)entry.getValue();
printProducers(writer, clients, queues, topics, producerId, destinationSet);
}
}
}