Class PollCountStatisticImpl

java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.PollCountStatisticImpl
All Implemented Interfaces:
CountStatistic, Resettable, Statistic

public class PollCountStatisticImpl extends StatisticImpl implements CountStatistic
A count statistic implementation
  • Constructor Details

  • Method Details

    • getParent

      public PollCountStatisticImpl getParent()
    • setParent

      public void setParent(PollCountStatisticImpl parent)
    • getCount

      public long getCount()
      Specified by:
      getCount in interface CountStatistic
    • appendFieldDescription

      protected void appendFieldDescription(StringBuffer buffer)
      Overrides:
      appendFieldDescription in class StatisticImpl
    • getPeriod

      public double getPeriod()
      Returns:
      the average time period that elapses between counter increments since the last reset.
    • getFrequency

      public double getFrequency()
      Returns:
      the number of times per second that the counter is incrementing since the last reset.