Class ThreadDetailsResolver
java.lang.Object
org.eclipse.mat.inspections.threads.ThreadDetailsResolver
- All Implemented Interfaces:
IThreadDetailsResolver
Extract extra information about an OpenJDK thread.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplementDeep(IThreadInfo thread, IProgressListener listener) Extract detailed information about a thread, for example for ThreadInfoQuery.voidcomplementShallow(IThreadInfo thread, IProgressListener listener) Extract basic information about a thread, for example for ThreadOverviewQuery.Column[]The columns that can be extracted from java.lang.Thread fields.
-
Constructor Details
-
ThreadDetailsResolver
public ThreadDetailsResolver()Create a Java thread details resolver.
-
-
Method Details
-
getColumns
The columns that can be extracted from java.lang.Thread fields.- Specified by:
getColumnsin interfaceIThreadDetailsResolver- Returns:
- an array of Columns
-
complementShallow
public void complementShallow(IThreadInfo thread, IProgressListener listener) throws SnapshotException Description copied from interface:IThreadDetailsResolverExtract basic information about a thread, for example for ThreadOverviewQuery.- Specified by:
complementShallowin interfaceIThreadDetailsResolver- Parameters:
thread- to extract the information from and to attach the informationlistener- to log progress and report errors- Throws:
SnapshotException- problem retrieving or converting the data
-
complementDeep
Description copied from interface:IThreadDetailsResolverExtract detailed information about a thread, for example for ThreadInfoQuery.- Specified by:
complementDeepin interfaceIThreadDetailsResolver- Parameters:
thread- to extract the information from and to attach the informationlistener- to log progress and report errors- Throws:
SnapshotException- problem retrieving or converting the data
-