Save This Page
Home » activemq-parent-5.3.1-source-release » org.apache » activemq » management » [javadoc | source]
org.apache.activemq.management
public class: CountStatisticImpl [javadoc | source]
java.lang.Object
   org.apache.activemq.management.StatisticImpl
      org.apache.activemq.management.CountStatisticImpl

All Implemented Interfaces:
    javax.management.j2ee.statistics.CountStatistic, javax.management.j2ee.statistics.Statistic, Resettable

A count statistic implementation
Fields inherited from org.apache.activemq.management.StatisticImpl:
enabled
Constructor:
 public CountStatisticImpl(String name,
    String description) 
 public CountStatisticImpl(CountStatisticImpl parent,
    String name,
    String description) 
 public CountStatisticImpl(String name,
    String unit,
    String description) 
Method from org.apache.activemq.management.CountStatisticImpl Summary:
add,   appendFieldDescription,   decrement,   getCount,   getFrequency,   getParent,   getPeriod,   increment,   reset,   setCount,   setParent,   subtract
Methods from org.apache.activemq.management.StatisticImpl:
appendFieldDescription,   getDescription,   getLastSampleTime,   getName,   getStartTime,   getUnit,   isDoReset,   isEnabled,   reset,   setDoReset,   setEnabled,   toString,   updateSampleTime
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.activemq.management.CountStatisticImpl Detail:
 public  void add(long amount) 
 protected  void appendFieldDescription(StringBuffer buffer) 
 public  void decrement() 
 public long getCount() 
 public double getFrequency() 
 public CountStatisticImpl getParent() 
 public double getPeriod() 
 public  void increment() 
 public  void reset() 
 public  void setCount(long count) 
 public  void setParent(CountStatisticImpl parent) 
 public  void subtract(long amount)