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

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

A time statistic implementation
Fields inherited from org.apache.activemq.management.StatisticImpl:
enabled
Constructor:
 public TimeStatisticImpl(String name,
    String description) 
 public TimeStatisticImpl(TimeStatisticImpl parent,
    String name,
    String description) 
 public TimeStatisticImpl(String name,
    String unit,
    String description) 
Method from org.apache.activemq.management.TimeStatisticImpl Summary:
addTime,   appendFieldDescription,   getAveragePerSecond,   getAveragePerSecondExcludingMinMax,   getAverageTime,   getAverageTimeExcludingMinMax,   getCount,   getMaxTime,   getMinTime,   getParent,   getTotalTime,   reset,   setParent
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.TimeStatisticImpl Detail:
 public synchronized  void addTime(long time) 
 protected synchronized  void appendFieldDescription(StringBuffer buffer) 
 public double getAveragePerSecond() 
 public double getAveragePerSecondExcludingMinMax() 
 public synchronized double getAverageTime() 
 public synchronized double getAverageTimeExcludingMinMax() 
 public synchronized long getCount() 
 public long getMaxTime() 
 public synchronized long getMinTime() 
 public TimeStatisticImpl getParent() 
 public synchronized long getTotalTime() 
 public synchronized  void reset() 
 public  void setParent(TimeStatisticImpl parent)