[jboss-cvs] JBoss Messaging SVN: r3727 - 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:02:13 EST 2008
Author: ataylor
Date: 2008-02-18 04:02:12 -0500 (Mon, 18 Feb 2008)
New Revision: 3727
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-15 15:59:01 UTC (rev 3726)
+++ trunk/src/main/org/jboss/jms/server/JMSServerManager.java 2008-02-18 09:02:12 UTC (rev 3727)
@@ -62,6 +62,10 @@
int getMessageCount(JBossQueue queue) throws Exception;
+ int getMessageCountForTopic(String topic) throws Exception;
+
+ int getMessageCount(JBossTopic topic) throws Exception;
+
List<SubscriptionInfo> listSubscriptions(String topicName) throws Exception;
List<SubscriptionInfo> listSubscriptions(JBossTopic topic) throws Exception;
Modified: trunk/src/main/org/jboss/jms/server/JMSServerManagerImpl.java
===================================================================
--- trunk/src/main/org/jboss/jms/server/JMSServerManagerImpl.java 2008-02-15 15:59:01 UTC (rev 3726)
+++ trunk/src/main/org/jboss/jms/server/JMSServerManagerImpl.java 2008-02-18 09:02:12 UTC (rev 3727)
@@ -481,7 +481,16 @@
return messagingServerManagement.getMessageCountForQueue(queue.getAddress());
}
+ public int getMessageCountForTopic(String topic) throws Exception
+ {
+ return 0; //To change body of implemented methods use File | Settings | File Templates.
+ }
+ public int getMessageCount(JBossTopic topic) throws Exception
+ {
+ return 0; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
public List<SubscriptionInfo> listSubscriptions(String topicName) throws Exception
{
return listSubscriptions(new JBossTopic(topicName));
@@ -566,7 +575,7 @@
return null;
}
- List<MessageStatistics> getMessageStatistics(String queue) throws Exception
+ List<MessageStatistics> getMessageStatistics() throws Exception
{
Collection<MessageCounter> counters = messagingServerManagement.getMessageCounters();
List<MessageStatistics> list = new ArrayList<MessageStatistics>(counters.size());
More information about the jboss-cvs-commits
mailing list