performancemonster.graph
Interface GraphElement


public interface GraphElement


Method Summary
 long getBeginning()
          Gives the begin timestamp for the element.
 java.lang.String getCategory()
          Gives the category related to the element.
 long getEnd()
          Gives the end timestamp for the element.
 long getId()
          Gives a unique ID for this element.
 java.lang.String getMessage()
          Gives the message for the element.
 java.lang.String getStackTrace()
          Gives the stack trace related to the element.
 boolean isEnded()
          Returns true iff this element has an end timestamp attached.
 

Method Detail

getCategory

java.lang.String getCategory()
Gives the category related to the element.


getMessage

java.lang.String getMessage()
Gives the message for the element.


getStackTrace

java.lang.String getStackTrace()
Gives the stack trace related to the element.


isEnded

boolean isEnded()
Returns true iff this element has an end timestamp attached.


getBeginning

long getBeginning()
Gives the begin timestamp for the element.


getEnd

long getEnd()
Gives the end timestamp for the element. If isEnded() is true, this returns System.currentTimeMillis().


getId

long getId()
Gives a unique ID for this element. This is necessary to always guarantee a unique ordering of the elements in a GraphModel.



Copyright © 2005 Ole Friis. All Rights Reserved.