public Map < String , ActiveMQQueueStats > getQueueStats ( ) { Map < String , ActiveMQQueueStats > result ; result = new TreeMap <> ( ) ; synchronized ( this . queueStats ) { for ( QueueStatisticsCollection queueStatisticsCollection : this . queueStats . values ( ) ) { result . put ( queueStatisticsCollection . getQueueName ( ) , queueStatisticsCollection . getQueueTotalStats ( ) ) ; } } return result ; }
Retrieve statistics for all of the queues .