org.apache.cocoon.profiling.statistics
Class ReportImpl
java.lang.Object
org.apache.cocoon.profiling.statistics.ReportImpl
- All Implemented Interfaces:
- Report
public class ReportImpl
- extends Object
- implements Report
- Since:
- 2.1.10
- Version:
- $Id: ReportImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
count
protected int count
min
protected long min
max
protected long max
accumulated
protected long accumulated
last
protected long last
category
protected String category
buffer
protected StringBuffer buffer
ReportImpl
public ReportImpl(String category)
add
public void add(Statistics stat)
getTime
protected String getTime(long msecs)
getAverage
public long getAverage()
- Specified by:
getAverage
in interface Report
- See Also:
Report.getAverage()
getCategory
public String getCategory()
- Specified by:
getCategory
in interface Report
- See Also:
Report.getCategory()
getCount
public int getCount()
- Specified by:
getCount
in interface Report
- See Also:
Report.getCount()
getMax
public long getMax()
- Specified by:
getMax
in interface Report
- See Also:
Report.getMax()
getMin
public long getMin()
- Specified by:
getMin
in interface Report
- See Also:
Report.getMin()
getLast
public long getLast()
- Specified by:
getLast
in interface Report
- See Also:
Report.getLast()
getAll
public String getAll()
- Specified by:
getAll
in interface Report
- See Also:
Report.getAll()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.