org.apache.cocoon.profiling.statistics
Class PageReportImpl.SimpleStats

java.lang.Object
  extended by org.apache.cocoon.profiling.statistics.PageReportImpl.SimpleStats
All Implemented Interfaces:
Statistics
Enclosing class:
PageReportImpl

protected static final class PageReportImpl.SimpleStats
extends Object
implements Statistics


Field Summary
protected  String category
           
protected  long duration
           
 
Constructor Summary
PageReportImpl.SimpleStats(String category, long duration)
           
 
Method Summary
 String getCategory()
          The category for the invocation.
 long getDuration()
          The duration of the invocation in milliseconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

category

protected final String category

duration

protected final long duration
Constructor Detail

PageReportImpl.SimpleStats

public PageReportImpl.SimpleStats(String category,
                                  long duration)
Method Detail

getCategory

public String getCategory()
Description copied from interface: Statistics
The category for the invocation.

Specified by:
getCategory in interface Statistics
See Also:
Statistics.getCategory()

getDuration

public long getDuration()
Description copied from interface: Statistics
The duration of the invocation in milliseconds.

Specified by:
getDuration in interface Statistics
See Also:
Statistics.getDuration()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.