Interface IThreadInfo
-
public interface IThreadInfoHolds detailed information about a thread. Used by implementations of IThreadDetailsResolver to add information about threads. Supplied as an argument toIRequestDetailsResolver.complement(org.eclipse.mat.snapshot.ISnapshot, org.eclipse.mat.snapshot.extension.IThreadInfo, int[], int, org.eclipse.mat.util.IProgressListener)method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDetails(String name, IResult details)Add details of tasks performed by the thread.voidaddKeyword(String keyword)To add a keyword used for error report summariesvoidaddRequest(String summary, IResult details)Add requests such as the URL from a web serverintgetContextClassLoaderId()The context class loader for the threadCollection<String>getKeywords()Get a set of keywords reflecting a high level description of the situation.CompositeResultgetRequests()Get requests such as the URL from a web serverintgetThreadId()Get the thread idIObjectgetThreadObject()Get the actual thread objectvoidsetValue(Column column, 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, Object value)
To add particular information associated with a column- Parameters:
column- the column to changevalue- the new value for the column
-
addKeyword
void addKeyword(String keyword)
To add a keyword used for error report summaries- Parameters:
keyword-
-
addDetails
void addDetails(String name, IResult details)
Add details of tasks performed by the thread. Doesn't appear to be used yet.- Parameters:
name- subtitle for the reportdetails- the result containing the details
-
addRequest
void addRequest(String summary, IResult details)
Add requests such as the URL from a web server- Parameters:
summary- a titledetails- 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
Collection<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
-
-