Class SubscriptionStatistics

  • All Implemented Interfaces:
    Statistic, Stats, org.apache.activemq.management.Resettable

    public class SubscriptionStatistics
    extends org.apache.activemq.management.StatsImpl
    The J2EE Statistics for a Subsription.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.activemq.management.CountStatisticImpl consumedCount  
      protected org.apache.activemq.management.CountStatisticImpl dequeues  
      protected org.apache.activemq.management.CountStatisticImpl dispatched  
      protected org.apache.activemq.management.CountStatisticImpl enqueues  
      protected org.apache.activemq.management.SizeStatisticImpl inflightMessageSize  
      • Fields inherited from class org.apache.activemq.management.StatisticImpl

        enabled
    • Field Detail

      • consumedCount

        protected org.apache.activemq.management.CountStatisticImpl consumedCount
      • enqueues

        protected org.apache.activemq.management.CountStatisticImpl enqueues
      • dequeues

        protected org.apache.activemq.management.CountStatisticImpl dequeues
      • dispatched

        protected org.apache.activemq.management.CountStatisticImpl dispatched
      • inflightMessageSize

        protected org.apache.activemq.management.SizeStatisticImpl inflightMessageSize
    • Constructor Detail

      • SubscriptionStatistics

        public SubscriptionStatistics()
      • SubscriptionStatistics

        public SubscriptionStatistics​(boolean enabled)
    • Method Detail

      • getConsumedCount

        public org.apache.activemq.management.CountStatisticImpl getConsumedCount()
      • getEnqueues

        public org.apache.activemq.management.CountStatisticImpl getEnqueues()
      • getDequeues

        public org.apache.activemq.management.CountStatisticImpl getDequeues()
      • getDispatched

        public org.apache.activemq.management.CountStatisticImpl getDispatched()
      • getInflightMessageSize

        public org.apache.activemq.management.SizeStatisticImpl getInflightMessageSize()
      • reset

        public void reset()
        Specified by:
        reset in interface org.apache.activemq.management.Resettable
        Overrides:
        reset in class org.apache.activemq.management.StatsImpl
      • setEnabled

        public void setEnabled​(boolean enabled)
        Overrides:
        setEnabled in class org.apache.activemq.management.StatisticImpl