Class ThreadDetailsResolver
java.lang.Object
org.eclipse.mat.inspections.threads.ThreadDetailsResolver
- All Implemented Interfaces:
IThreadDetailsResolver
Extract extra information about an OpenJDK thread.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
complementDeep
(IThreadInfo thread, IProgressListener listener) Extract detailed information about a thread, for example for ThreadInfoQuery.void
complementShallow
(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:
getColumns
in interfaceIThreadDetailsResolver
- Returns:
- an array of Columns
-
complementShallow
public void complementShallow(IThreadInfo thread, IProgressListener listener) throws SnapshotException Description copied from interface:IThreadDetailsResolver
Extract basic information about a thread, for example for ThreadOverviewQuery.- Specified by:
complementShallow
in 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:IThreadDetailsResolver
Extract detailed information about a thread, for example for ThreadInfoQuery.- Specified by:
complementDeep
in 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
-