1 22 package org.jboss.management.j2ee.statistics; 23 24 import javax.management.j2ee.statistics.CountStatistic ; 25 import javax.management.j2ee.statistics.JMSConsumerStats ; 26 import javax.management.j2ee.statistics.TimeStatistic ; 27 28 35 public final class JMSConsumerStatsImpl 36 extends JMSEndpointStatsImpl 37 implements JMSConsumerStats 38 { 39 41 42 private static final long serialVersionUID = -8387556742416393266L; 43 44 46 private String mOrigin; 47 48 50 public JMSConsumerStatsImpl(String pOrigin, 51 CountStatistic pMessageCount, 52 CountStatistic pPendingMessageCount, 53 CountStatistic pExpiredMessageCount, 54 TimeStatistic pMessageWaitTime) 55 { 56 super(pMessageCount, pPendingMessageCount, pExpiredMessageCount, pMessageWaitTime); 57 mOrigin = pOrigin; 58 } 59 60 62 public String getOrigin() 63 { 64 return mOrigin; 65 } 66 } 67 | Popular Tags |