1 package javax.management.j2ee;
2
3 /**
4 * Represents the statistics provided by a JMS Session
5 *
6 * @author <a href="mailto:marc@jboss.org">Marc Fleury</a>
7 * @author <a href="mailto:andreas@jboss.org">Andreas Schaefer</a>
8 * @version $Revision: 1.1 $
9 *
10 * <p><b>Revisions:</b>
11 *
12 * <p><b>200112009 Andreas Schaefer:</b>
13 * <ul>
14 * <li> Adjustment to the new JBoss guide lines and also adjustments
15 * to the latest JSR-77 specification
16 * </ul>
17 **/
18 public interface JMSSessionStats
19 extends Stats
20 {
21 // Constants -----------------------------------------------------
22
23 // Public --------------------------------------------------------
24
25 /**
26 * @return The list of JMSProducerStats that provide statistics about the message
27 * producers associated with the referencing JMS session statistics
28 **/
29 public JMSProducerStats[] getProducers();
30
31 /**
32 * @return The list of JMSConsumerStats that provide statistics about the message
33 * consumers associated with the referencing JMS session statistics.
34 **/
35 public JMSConsumerStats[] getConsumers();
36
37 /**
38 * @return The number of messages exchanged
39 **/
40 public CountStatistic getMessageCount();
41
42 /**
43 * @return The number of pending messages
44 **/
45 public CountStatistic getPendingMessageCount();
46
47 /**
48 * @return The number of expired messages
49 **/
50 public CountStatistic getExpiredMessageCount();
51
52 /**
53 * @return The time spent by a message before being delivered
54 **/
55 public TimeStatistic getMessageWaitTime();
56
57 /**
58 * @return The number of durable subscriptions
59 **/
60 public CountStatistic getDurableSubscriptionCount();
61
62 // Package protected ---------------------------------------------
63
64 // Protected -----------------------------------------------------
65
66 // Static inner classes -------------------------------------------------
67 }