org.eclipse.mat.snapshot.extension
Interface IThreadInfo


public interface IThreadInfo

Holds detailed information about a thread


Method Summary
 void addDetails(java.lang.String name, IResult details)
          Add details of tasks performed by the thread.
 void addKeyword(java.lang.String keyword)
          To add a keyword used for error report summaries
 void addRequest(java.lang.String summary, IResult details)
          Add requests such as the URL from a web server
 int getContextClassLoaderId()
          The context class loader for the thread
 java.util.Collection<java.lang.String> getKeywords()
          Get a set of keywords reflecting a high level description of the situation.
 CompositeResult getRequests()
          Get requests such as the URL from a web server
 int getThreadId()
          Get the thread id
 IObject getThreadObject()
          Get the actual thread object
 void setValue(Column column, java.lang.Object value)
          To add particular information associated with a column
 

Method Detail

getThreadId

int getThreadId()
Get the thread id

Returns:
the thread id

getThreadObject

IObject getThreadObject()
Get the actual thread object

Returns:
the thread object

setValue

void setValue(Column column,
              java.lang.Object value)
To add particular information associated with a column

Parameters:
column - the column to change
value - the new value for the column

addKeyword

void addKeyword(java.lang.String keyword)
To add a keyword used for error report summaries

Parameters:
keyword -

addDetails

void addDetails(java.lang.String name,
                IResult details)
Add details of tasks performed by the thread. Doesn't appear to be used yet.

Parameters:
name - subtitle for the report
details - the result containing the details

addRequest

void addRequest(java.lang.String summary,
                IResult details)
Add requests such as the URL from a web server

Parameters:
summary - a title
details - the result containing the request

getRequests

CompositeResult getRequests()
Get requests such as the URL from a web server

Returns:
a combination result of all the requests

getKeywords

java.util.Collection<java.lang.String> getKeywords()
Get a set of keywords reflecting a high level description of the situation.

Returns:
a collection of keywords

getContextClassLoaderId

int getContextClassLoaderId()
The context class loader for the thread

Returns:
the id of the class loader