Class RangeStatisticImpl

java.lang.Object
org.apache.activemq.management.StatisticImpl
org.apache.activemq.management.RangeStatisticImpl
All Implemented Interfaces:
Resettable, Statistic
Direct Known Subclasses:
BoundedRangeStatisticImpl

public class RangeStatisticImpl extends StatisticImpl
A range statistic implementation
  • Constructor Details

    • RangeStatisticImpl

      public RangeStatisticImpl(String name, String unit, String description)
  • Method Details

    • reset

      public void reset()
      Description copied from interface: Resettable
      Reset the statistic
      Specified by:
      reset in interface Resettable
      Overrides:
      reset in class StatisticImpl
    • getHighWaterMark

      public long getHighWaterMark()
    • getLowWaterMark

      public long getLowWaterMark()
    • getCurrent

      public long getCurrent()
    • setCurrent

      public void setCurrent(long current)
    • appendFieldDescription

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