Package org.opencms.db.timing
Class CmsThreadStatsTreeProfilingHandler
java.lang.Object
org.opencms.db.timing.CmsThreadStatsTreeProfilingHandler
- All Implemented Interfaces:
I_CmsProfilingHandler
Builds up a tree whose nodes correspond to stack trace lines of the threads calling this
profiling handler. The resulting tree can be dumped as XML.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The tree node. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
CmsThreadStatsTreeProfilingHandler
public CmsThreadStatsTreeProfilingHandler()
-
-
Method Details
-
dump
Dumps the tree as XML.- Returns:
- the tree in XML format
-
hasData
Returns true if we received any data yet.- Returns:
- true if the handler has received data
-
putTime
Description copied from interface:I_CmsProfilingHandler
Adds measured method call duration.- Specified by:
putTime
in interfaceI_CmsProfilingHandler
- Parameters:
key
- a key identifying the methodnanos
- the nanoseconds measured- See Also:
-