org.apache.cocoon.components.profiler
Class ProfilerResult

java.lang.Object
  extended by org.apache.cocoon.components.profiler.ProfilerResult

public class ProfilerResult
extends Object

A ProfilerResult stores a collection of the lastest n ProfilerDatas for one pipeline.

Version:
CVS $Id: ProfilerResult.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Vadim Gritsenko, Stephan Michels, Bruno Dumon

Constructor Summary
ProfilerResult(String uri, int latestResultsCount)
           
 
Method Summary
 void addData(ProfilerData data)
          Add a new profiler data from a request to the result.
 int getCount()
          Count of the ProfilerData entries
 EnvironmentInfo[] getLatestEnvironmentInfos()
          Environment infomation of the latest n-requests
 long[][] getProcessingTimes()
          Processing times of each component of the latest n-requests
 String[] getRoles()
          Roles of the sitemap components.
 Object[][] getSAXFragments()
          SAX fragment of each component of the latest n-requests
 long[][] getSetupTimes()
          Setup times of each component of the latest n-requests
 String[] getSources()
          Sources of the sitemap components.
 long[] getTotalTime()
          Total times of each request.
 String getURI()
          The URI of the request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilerResult

public ProfilerResult(String uri,
                      int latestResultsCount)
Method Detail

addData

public void addData(ProfilerData data)
Add a new profiler data from a request to the result.


getURI

public String getURI()
The URI of the request.


getRoles

public String[] getRoles()
Roles of the sitemap components.


getSources

public String[] getSources()
Sources of the sitemap components.


getCount

public int getCount()
Count of the ProfilerData entries


getLatestEnvironmentInfos

public EnvironmentInfo[] getLatestEnvironmentInfos()
Environment infomation of the latest n-requests


getTotalTime

public long[] getTotalTime()
Total times of each request.


getSetupTimes

public long[][] getSetupTimes()
Setup times of each component of the latest n-requests


getProcessingTimes

public long[][] getProcessingTimes()
Processing times of each component of the latest n-requests


getSAXFragments

public Object[][] getSAXFragments()
SAX fragment of each component of the latest n-requests



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