com.ibm.dtfj.runtime
Interface ManagedThread

All Known Subinterfaces:
JavaThread

public interface ManagedThread

Represents a thread which forms part of a managed runtime. ManagedThreads are bound to an ImageThread. There may be more than one ManagedThread (possibly from more than one ManagedRuntime) bound to any given ImageThread.

Author:
pburka

Method Summary
 ImageThread getImageThread()
           
 java.util.Iterator getStackFrames()
           
 java.util.Iterator getStackSections()
           
 

Method Detail

getImageThread

public ImageThread getImageThread()
Returns:
the ImageThread which this ManagedThread is currently bound to.
See Also:
ImageThread

getStackSections

public java.util.Iterator getStackSections()
Returns:
a collection of ImageSections which make up the managed stack.

Some Runtime implementations may also use parts of the ImageThread's stack for ManagesStackFrames

See Also:
ImageSection, ImageThread.getStackSections()

getStackFrames

public java.util.Iterator getStackFrames()
Returns:
an iterator to walk the managed stack frames in order from top-of-stack (i.e. most recent frame) to bottom-of-stack
See Also:
ManagedStackFrame