intarsys runtime library

de.intarsys.tools.monitor
Class MonitorStatistic

java.lang.Object
  extended by de.intarsys.tools.monitor.MonitorStatistic
All Implemented Interfaces:
Comparable

public class MonitorStatistic
extends Object
implements Comparable

This object keeps the statistical computations for a sample in a monitor.


Constructor Summary
MonitorStatistic(String description, int index)
           
 
Method Summary
 int compareTo(Object o)
           
 long getAvg()
           
 long getCount()
           
 int getIndex()
           
 long getMax()
           
 long getMin()
           
 long getTotal()
           
 void reset()
           
 void setAvg(long avg)
           
 void setCount(long count)
           
 void setMax(long max)
           
 void setMin(long min)
           
 void setTotal(long total)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorStatistic

public MonitorStatistic(String description,
                        int index)
Method Detail

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

getAvg

public long getAvg()

getCount

public long getCount()

getIndex

public int getIndex()

getMax

public long getMax()

getMin

public long getMin()

getTotal

public long getTotal()

reset

public void reset()

setAvg

public void setAvg(long avg)

setCount

public void setCount(long count)

setMax

public void setMax(long max)

setMin

public void setMin(long min)

setTotal

public void setTotal(long total)

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.