|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.profiler.ProfilerImpl
public class ProfilerImpl
Profiler component implementation. Stores profiler data for all pipelines.
| Field Summary |
|---|
| Fields inherited from interface org.apache.cocoon.components.profiler.Profiler |
|---|
ROLE |
| Constructor Summary | |
|---|---|
ProfilerImpl()
|
|
| Method Summary | |
|---|---|
void |
addResult(String uri,
ProfilerData data)
Add a result for a request. |
void |
clearResult(Object key)
Remove the specified result. |
void |
clearResults()
Clear the results. |
void |
configure(Configuration configuration)
Pass the Configuration to the Configurable class. |
ProfilerResult |
getResult(Object key)
Returns a result of a specifed key. |
Collection |
getResultKeys()
Returns a collection of all keys |
Collection |
getResults()
Returns a collection of the results. |
| Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
|---|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfilerImpl()
| Method Detail |
|---|
public void configure(Configuration configuration)
throws ConfigurationException
configure in interface Configurableconfiguration - the class configurations.
ConfigurationExceptionpublic void clearResults()
clearResults in interface Profilerpublic void clearResult(Object key)
clearResult in interface Profilerkey - Key of the result.public Collection getResultKeys()
getResultKeys in interface Profilerpublic Collection getResults()
getResults in interface Profilerpublic ProfilerResult getResult(Object key)
getResult in interface Profilerkey - Key of the result.
public void addResult(String uri,
ProfilerData data)
addResult in interface Profileruri - URI of the requestdata - Result of the profiling
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||