Class MessageStoreStatistics

java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.StatsImpl
org.apache.activemq.store.MessageStoreStatistics
All Implemented Interfaces:
org.apache.activemq.management.Resettable, org.apache.activemq.management.Statistic, org.apache.activemq.management.Stats

public class MessageStoreStatistics extends org.apache.activemq.management.StatsImpl
The J2EE Statistics for a Message Sore
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    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
     
    MessageStoreStatistics(boolean enabled)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    • messageCount

      protected org.apache.activemq.management.CountStatisticImpl messageCount
    • messageSize

      protected org.apache.activemq.management.SizeStatisticImpl messageSize
  • Constructor Details

    • MessageStoreStatistics

      public MessageStoreStatistics()
    • MessageStoreStatistics

      public MessageStoreStatistics(boolean enabled)
  • Method Details

    • getMessageCount

      public org.apache.activemq.management.CountStatisticImpl getMessageCount()
    • getMessageSize

      public org.apache.activemq.management.SizeStatisticImpl getMessageSize()
    • 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(MessageStoreStatistics parent)