Class SubscriptionStatistics

java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
org.apache.activemq.broker.region.SubscriptionStatistics
All Implemented Interfaces:
org.apache.activemq.management.Resettable, org.apache.activemq.management.Statistic, org.apache.activemq.management.Stats

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
     
    protected org.apache.activemq.management.CountStatisticImpl
     
    protected org.apache.activemq.management.CountStatisticImpl
     
    protected org.apache.activemq.management.CountStatisticImpl
     
    protected org.apache.activemq.management.SizeStatisticImpl
     

    Fields inherited from class org.apache.activemq.management.StatsImpl

    set
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SubscriptionStatistics(boolean enabled)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.activemq.management.CountStatisticImpl
     
    org.apache.activemq.management.CountStatisticImpl
     
    org.apache.activemq.management.CountStatisticImpl
     
    org.apache.activemq.management.CountStatisticImpl
     
    org.apache.activemq.management.SizeStatisticImpl
     
    void
     
    void
    setEnabled(boolean enabled)
     
    void
     

    Methods inherited from class org.apache.activemq.management.StatsImpl

    addStatistic, addStatistics, getStatistic, getStatisticNames, getStatistics, removeStatistics

    Methods inherited from class org.apache.activemq.management.StatisticImpl

    appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • 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 Details

    • SubscriptionStatistics

      public SubscriptionStatistics()
    • SubscriptionStatistics

      public SubscriptionStatistics(boolean enabled)
  • Method Details

    • 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
    • setParent

      public void setParent(SubscriptionStatistics parent)