org.apache.activemq.management
Class BoundaryStatisticImpl

java.lang.Object
  extended by org.apache.activemq.management.StatisticImpl
      extended by org.apache.activemq.management.BoundaryStatisticImpl
All Implemented Interfaces:
Statistic, Resettable

public class BoundaryStatisticImpl
extends StatisticImpl

A boundary statistic implementation


Field Summary
 
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
 
Constructor Summary
BoundaryStatisticImpl(String name, String unit, String description, long lowerBound, long upperBound)
           
 
Method Summary
protected  void appendFieldDescription(StringBuffer buffer)
           
 long getLowerBound()
           
 long getUpperBound()
           
 
Methods inherited from class org.apache.activemq.management.StatisticImpl
getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, reset, setDoReset, setEnabled, toString, updateSampleTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoundaryStatisticImpl

public BoundaryStatisticImpl(String name,
                             String unit,
                             String description,
                             long lowerBound,
                             long upperBound)
Method Detail

getLowerBound

public long getLowerBound()

getUpperBound

public long getUpperBound()

appendFieldDescription

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


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.