[jboss-cvs] JBoss Messaging SVN: r3728 - trunk/src/main/org/jboss/jms/server.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 18 04:14:00 EST 2008


Author: ataylor
Date: 2008-02-18 04:14:00 -0500 (Mon, 18 Feb 2008)
New Revision: 3728

Modified:
   trunk/src/main/org/jboss/jms/server/JMSServerManager.java
   trunk/src/main/org/jboss/jms/server/JMSServerManagerImpl.java
Log:
refactoring of management interfaces second draft

Modified: trunk/src/main/org/jboss/jms/server/JMSServerManager.java
===================================================================
--- trunk/src/main/org/jboss/jms/server/JMSServerManager.java	2008-02-18 09:02:12 UTC (rev 3727)
+++ trunk/src/main/org/jboss/jms/server/JMSServerManager.java	2008-02-18 09:14:00 UTC (rev 3728)
@@ -3,6 +3,7 @@
 import org.jboss.jms.destination.JBossQueue;
 import org.jboss.jms.destination.JBossTopic;
 import org.jboss.messaging.core.impl.server.SubscriptionInfo;
+import org.jboss.messaging.core.impl.messagecounter.MessageStatistics;
 
 import javax.jms.Message;
 import java.util.List;
@@ -87,4 +88,26 @@
    int getConsumerCountForQueue(JBossQueue queue) throws Exception;
 
    List getClients() throws Exception;
+
+   void startGatheringStatistics();
+
+   void startGatheringStatisticsForQueue(String queue);
+
+   void startGatheringStatistics(JBossQueue queue);
+
+   void startGatheringStatisticsForTopic(String topic);
+
+   void startGatheringStatistics(JBossTopic topic);
+
+   void stopGatheringStatistics();
+
+   void stopGatheringStatisticsForQueue(String queue);
+
+   void stopGatheringStatistics(JBossQueue queue);
+
+   void stopGatheringStatisticsForTopic(String topic);
+
+   void stopGatheringStatistics(JBossTopic topic);
+
+   List<MessageStatistics> getStatistics() throws Exception;
 }

Modified: trunk/src/main/org/jboss/jms/server/JMSServerManagerImpl.java
===================================================================
--- trunk/src/main/org/jboss/jms/server/JMSServerManagerImpl.java	2008-02-18 09:02:12 UTC (rev 3727)
+++ trunk/src/main/org/jboss/jms/server/JMSServerManagerImpl.java	2008-02-18 09:14:00 UTC (rev 3728)
@@ -575,8 +575,59 @@
       return null;
    }
 
-   List<MessageStatistics> getMessageStatistics() throws Exception
+
+   public void startGatheringStatistics()
    {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public void startGatheringStatisticsForQueue(String queue)
+   {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public void startGatheringStatistics(JBossQueue queue)
+   {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public void startGatheringStatisticsForTopic(String topic)
+   {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public void startGatheringStatistics(JBossTopic topic)
+   {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public void stopGatheringStatistics()
+   {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public void stopGatheringStatisticsForQueue(String queue)
+   {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public void stopGatheringStatistics(JBossQueue queue)
+   {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public void stopGatheringStatisticsForTopic(String topic)
+   {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public void stopGatheringStatistics(JBossTopic topic)
+   {
+      //To change body of implemented methods use File | Settings | File Templates.
+   }
+
+   public List<MessageStatistics> getStatistics() throws Exception
+   {
       Collection<MessageCounter> counters = messagingServerManagement.getMessageCounters();
       List<MessageStatistics> list = new ArrayList<MessageStatistics>(counters.size());
       for (Object counter1 : counters)




More information about the jboss-cvs-commits mailing list