|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Configurable
configuration
- the class configurations.
ConfigurationException
public void clearResults()
clearResults
in interface Profiler
public void clearResult(Object key)
clearResult
in interface Profiler
key
- Key of the result.public Collection getResultKeys()
getResultKeys
in interface Profiler
public Collection getResults()
getResults
in interface Profiler
public ProfilerResult getResult(Object key)
getResult
in interface Profiler
key
- Key of the result.
public void addResult(String uri, ProfilerData data)
addResult
in interface Profiler
uri
- URI of the requestdata
- Result of the profiling
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |