org.apache.cocoon.profiling.statistics
Interface Collector

All Known Implementing Classes:
CollectorImpl

public interface Collector

The collector is the central component collecting various statistics about the current request.

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

Method Summary
 void addStatistics(Statistics stats)
          Add a new statistics object.
 void clear()
           
 Collection getPageReports()
          Collection of PageReports.
 Collection getStatistics()
          Collection of Reports.
 boolean isCollectingStatistics()
           
 void setCollectingStatistics(boolean value)
           
 

Method Detail

addStatistics

void addStatistics(Statistics stats)
Add a new statistics object.


getStatistics

Collection getStatistics()
Collection of Reports.


getPageReports

Collection getPageReports()
Collection of PageReports.


setCollectingStatistics

void setCollectingStatistics(boolean value)

isCollectingStatistics

boolean isCollectingStatistics()

clear

void clear()


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