org.hopto.pentaj.jexin.stacktrace
Class StackTrace
java.lang.Object
org.hopto.pentaj.jexin.stacktrace.StackTrace
public class StackTrace
- extends java.lang.Object
NodeAddress
, thread, and list of stack frames that identify a single thread execution path. The NodeAddress
and thread ID identify a unique and sequential execution path. The trace may be open, meaning there are StackFrame
s
that have not completed yet; or completed, meaning all StackFrame
s are completed (their associated methods have
completed). If the trace is completed you may get the stack frames, if it is not completed you may not get the stack frames.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StackTrace
public StackTrace(NodeAddress address,
long threadId,
java.lang.String threadName,
StackFrame rootStackFrame)
- Parameters:
address
- threadId
- threadName
- rootStackFrame
-
getAddress
public NodeAddress getAddress()
- Returns:
- the address
getThreadId
public long getThreadId()
- Returns:
- the threadId
getThreadName
public java.lang.String getThreadName()
- Returns:
- the threadName
getStackFrames
public java.util.List<StackFrame> getStackFrames()
- Returns:
- the methodFrames
isCompleted
public boolean isCompleted()
getStackEndIndex
public int getStackEndIndex()
- The end index of the stack