1 package javax.management.j2ee;
2
3 /**
4 * Represents a statistics provided by a JMS message producer or a
5 * JMS message consumer
6 *
7 * @author <a href="mailto:marc@jboss.org">Marc Fleury</a>
8 * @author <a href="mailto:andreas@jboss.org">Andreas Schaefer</a>
9 * @version $Revision: 1.1 $
10 *
11 * <p><b>Revisions:</b>
12 *
13 * <p><b>200112009 Andreas Schaefer:</b>
14 * <ul>
15 * <li> Adjustment to the new JBoss guide lines and also adjustments
16 * to the latest JSR-77 specification
17 * </ul>
18 **/
19 public interface JMSEndpointStats
20 extends Stats
21 {
22 // Constants -----------------------------------------------------
23
24 // Public --------------------------------------------------------
25
26 /**
27 * @return The number of messages sent or received
28 **/
29 public CountStatistic getMessageCount();
30
31 /**
32 * @return The number of pending messages
33 **/
34 public CountStatistic getPendingMessageCount();
35
36 /**
37 * @return The number of messages that expired before delivery
38 **/
39 public CountStatistic getExpiredMessageCount();
40
41 /**
42 * @return The time spent by a message before being delivered
43 **/
44 public TimeStatistic getMessageWaitTime();
45
46 // Package protected ---------------------------------------------
47
48 // Protected -----------------------------------------------------
49
50 // Static inner classes -------------------------------------------------
51 }