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.java 485636 2006-12-11 12:20:15Z cziegeler $

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-2007 The Apache Software Foundation. All Rights Reserved.