Interface IThreadInfo
-
public interface IThreadInfo
Holds 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 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 summariesvoid
addRequest(java.lang.String summary, IResult details)
Add requests such as the URL from a web serverint
getContextClassLoaderId()
The context class loader for the threadjava.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 serverint
getThreadId()
Get the thread idIObject
getThreadObject()
Get the actual thread objectvoid
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 changevalue
- 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 reportdetails
- 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 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
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
-
-