Map nameMap = (Map)nameMaps.get(nodeId);
Map nameMap = (Map)nameMaps.get(new Integer(nodeId));
   public synchronized void sendQueueStats() throws Exception   {      if (!started)      {         return;      }            lock.readLock().acquire();            List statsList = null;                  try      {                  Map nameMap = (Map)nameMaps.get(nodeId);                  if (nameMap != null)         {                        Iterator iter = nameMap.values().iterator();                                 while (iter.hasNext())            {               Binding bb = (Binding)iter.next();                              LocalClusteredQueue q = (LocalClusteredQueue)bb.getQueue();                                            if (q.isActive())               {                                                                        QueueStats stats = q.getStats();                                    //log.info(q.getNodeId() + " queue " + stats.getQueueName() + " count " + stats.getMessageCount());                                                                         //We don't bother sending the stats if there's no significant change in the values                                    if (q.changedSignificantly())                  {                     if (statsList == null)                     {                        statsList = new ArrayList();                     }                     statsList.add(stats);                  }                   else                  {                     //log.info("Not changed significantly");                  }               }            }         }      }      finally      {         lock.readLock().release();      }            if (statsList != null)      {         ClusterRequest req = new QueueStatsRequest(nodeId, statsList);                  asyncSendRequest(req);      }   }