org.apache.geronimo.samples.daytrader.util
Class TimerStat

java.lang.Object
  extended byorg.apache.geronimo.samples.daytrader.util.TimerStat

public class TimerStat
extends java.lang.Object

Author:
stancox To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Constructor Summary
TimerStat()
           
 
Method Summary
 double getAvgSecs()
          Returns the average time in Secs
 int getCount()
          Returns the count.
 double getMax()
          Returns the max.
 double getMaxSecs()
          Returns the max in Secs
 double getMin()
          Returns the min.
 double getMinSecs()
          Returns the min in Secs
 double getTotalTime()
          Returns the totalTime.
 void setCount(int count)
          Sets the count.
 void setMax(double max)
          Sets the max.
 void setMin(double min)
          Sets the min.
 void setTotalTime(double totalTime)
          Sets the totalTime.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerStat

public TimerStat()
Method Detail

getCount

public int getCount()
Returns the count.

Returns:
int

getMax

public double getMax()
Returns the max.

Returns:
double

getMin

public double getMin()
Returns the min.

Returns:
double

setCount

public void setCount(int count)
Sets the count.

Parameters:
count - The count to set

setMax

public void setMax(double max)
Sets the max.

Parameters:
max - The max to set

setMin

public void setMin(double min)
Sets the min.

Parameters:
min - The min to set

getTotalTime

public double getTotalTime()
Returns the totalTime.

Returns:
double

setTotalTime

public void setTotalTime(double totalTime)
Sets the totalTime.

Parameters:
totalTime - The totalTime to set

getMaxSecs

public double getMaxSecs()
Returns the max in Secs

Returns:
double

getMinSecs

public double getMinSecs()
Returns the min in Secs

Returns:
double

getAvgSecs

public double getAvgSecs()
Returns the average time in Secs

Returns:
double


Copyright © 2005-2006 Apache Software Foundation. All Rights Reserved.