performancemonster.stretchedcallgraph
Interface Node

All Known Subinterfaces:
MethodNode
All Known Implementing Classes:
ThreadNode

public interface Node


Method Summary
 Node addChild(GraphElement element)
           
 java.lang.String getName()
          Gives the name of this node.
 Node getParent()
           
 long getTimeInMethod()
          Gives the time spent in this method, excluding the time spent in sub-methods.
 long getTotalTime()
          Gives the total time spent in this method.
 boolean isEnded()
          Indicates whether or not the underlying graph element is ended or not.
 

Method Detail

getParent

Node getParent()

addChild

Node addChild(GraphElement element)

getName

java.lang.String getName()
Gives the name of this node.

Returns:
The name of this node.

getTotalTime

long getTotalTime()
Gives the total time spent in this method.

Returns:
Throws:
java.lang.IllegalStateException - if

getTimeInMethod

long getTimeInMethod()
Gives the time spent in this method, excluding the time spent in sub-methods.

Returns:
Throws:
java.lang.IllegalStateException - if

isEnded

boolean isEnded()
Indicates whether or not the underlying graph element is ended or not.

Returns:
true if the underlying graph element is ended, false otherwise.


Copyright © 2005 Ole Friis. All Rights Reserved.