org.apache.jetspeed.statistics.impl
Class AggregateStatisticsImpl

java.lang.Object
  extended by org.apache.jetspeed.statistics.impl.AggregateStatisticsImpl
All Implemented Interfaces:
Serializable, org.apache.jetspeed.statistics.AggregateStatistics

public class AggregateStatisticsImpl
extends Object
implements org.apache.jetspeed.statistics.AggregateStatistics

AggregateStatisticsImpl

Version:
$Id: $
Author:
Chris Schaefer , David Sean Taylor
See Also:
Serialized Form

Field Summary
private  float avgProcessingTime
           
private  int hitcount
           
private  float maxProcessingTime
           
private  float minProcessingTime
           
private  List statlist
           
private  float stddevProcessingTime
           
 
Constructor Summary
AggregateStatisticsImpl()
           
 
Method Summary
 void addRow(Map row)
           
 float getAvgProcessingTime()
           
 int getHitCount()
           
 float getMaxProcessingTime()
           
 float getMinProcessingTime()
           
 List getStatlist()
           
 void setAvgProcessingTime(float time)
           
 void setHitCount(int hitCount)
           
 void setMaxProcessingTime(float time)
           
 void setMinProcessingTime(float time)
           
 void setStatlist(List statlist)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

avgProcessingTime

private float avgProcessingTime

maxProcessingTime

private float maxProcessingTime

minProcessingTime

private float minProcessingTime

stddevProcessingTime

private float stddevProcessingTime

hitcount

private int hitcount

statlist

private List statlist
Constructor Detail

AggregateStatisticsImpl

public AggregateStatisticsImpl()
Method Detail

addRow

public void addRow(Map row)
Specified by:
addRow in interface org.apache.jetspeed.statistics.AggregateStatistics

getAvgProcessingTime

public float getAvgProcessingTime()
Specified by:
getAvgProcessingTime in interface org.apache.jetspeed.statistics.AggregateStatistics

getHitCount

public int getHitCount()
Specified by:
getHitCount in interface org.apache.jetspeed.statistics.AggregateStatistics

getMaxProcessingTime

public float getMaxProcessingTime()
Specified by:
getMaxProcessingTime in interface org.apache.jetspeed.statistics.AggregateStatistics

getMinProcessingTime

public float getMinProcessingTime()
Specified by:
getMinProcessingTime in interface org.apache.jetspeed.statistics.AggregateStatistics

setHitCount

public void setHitCount(int hitCount)
Specified by:
setHitCount in interface org.apache.jetspeed.statistics.AggregateStatistics

setMaxProcessingTime

public void setMaxProcessingTime(float time)
Specified by:
setMaxProcessingTime in interface org.apache.jetspeed.statistics.AggregateStatistics

setMinProcessingTime

public void setMinProcessingTime(float time)
Specified by:
setMinProcessingTime in interface org.apache.jetspeed.statistics.AggregateStatistics

setAvgProcessingTime

public void setAvgProcessingTime(float time)
Specified by:
setAvgProcessingTime in interface org.apache.jetspeed.statistics.AggregateStatistics

toString

public String toString()
Overrides:
toString in class Object

getStatlist

public List getStatlist()
Specified by:
getStatlist in interface org.apache.jetspeed.statistics.AggregateStatistics
Returns:
Returns the statlist.

setStatlist

public void setStatlist(List statlist)
Specified by:
setStatlist in interface org.apache.jetspeed.statistics.AggregateStatistics
Parameters:
statlist - The statlist to set.


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.