Package | Description |
---|---|
org.javasimon.callback.calltree |
CallTreeCallback gathers information
for current thread and displays it subsequent calls like a tree. |
Modifier and Type | Method and Description |
---|---|
CallTreeNode |
CallTreeNode.addChild(String name)
Adds a child to this tree node.
|
CallTreeNode |
CallTreeNode.getChild(String name)
Returns the child node by Simon name.
|
CallTreeNode |
CallTreeNode.getOrAddChild(String name)
Returns a child node with given name or creates it if it does not exists.
|
CallTreeNode |
CallTreeNode.getParent()
Returns parent tree node.
|
CallTreeNode |
CallTree.getRootNode() |
CallTreeNode |
CallTree.onStopwatchStart(Split split)
When stopwatch is started, a new tree node is added to the parent
tree node and pushed on the call stack.
|
CallTreeNode |
CallTree.onStopwatchStop(Split split)
When stopwatch is stopped, the the split is added to current tree node
and this tree node is popped from call stack.
|
Modifier and Type | Method and Description |
---|---|
Collection<CallTreeNode> |
CallTreeNode.getChildren()
Returns all child nodes.
|
Modifier and Type | Method and Description |
---|---|
void |
CallTree.onRootStopwatchStart(CallTreeNode rootNode,
Split split)
When stopwatch is started, and the root tree node is pushed into
the call stack, this method is called.
|
protected void |
CallTree.onRootStopwatchStop(CallTreeNode callTreeNode,
Split split)
When stopwatch is stopped, and root tree node is popped from
call stack, this method is called.
|
Copyright © 2019. All rights reserved.