org.apache.cocoon.profiling.statistics
Interface Statistics

All Known Implementing Classes:
PageReportImpl.SimpleStats, SimpleStatistics, WSStatistics

public interface Statistics

A simple statistics object. A statistics object stores the duration for an invocation of a defined category.

Since:
2.1.10
Version:
$Id: Statistics.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Method Summary
 String getCategory()
          The category for the invocation.
 long getDuration()
          The duration of the invocation in milliseconds.
 

Method Detail

getDuration

long getDuration()
The duration of the invocation in milliseconds.


getCategory

String getCategory()
The category for the invocation.



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