org.activemq.management
Class BoundedRangeStatisticImpl

java.lang.Object
  extended byorg.activemq.management.StatisticImpl
      extended byorg.activemq.management.RangeStatisticImpl
          extended byorg.activemq.management.BoundedRangeStatisticImpl
All Implemented Interfaces:
Resettable, Statistic

public class BoundedRangeStatisticImpl
extends RangeStatisticImpl

A bounded range statistic implementation

Version:
$Revision: 1.1.1.1 $

Constructor Summary
BoundedRangeStatisticImpl(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.activemq.management.RangeStatisticImpl
getCurrent, getHighWaterMark, getLowWaterMark, reset, setCurrent
 
Methods inherited from class org.activemq.management.StatisticImpl
getDescription, getLastSampleTime, getName, getStartTime, getUnit, toString, updateSampleTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoundedRangeStatisticImpl

public BoundedRangeStatisticImpl(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 RangeStatisticImpl


Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.