Package org.eclipse.mat.dtfj
Class ThreadDetailsResolver
java.lang.Object
org.eclipse.mat.dtfj.ThreadDetailsResolver
- All Implemented Interfaces:
IThreadDetailsResolver
Use DTFJ to extract extra information about a thread.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
complementDeep
(IThreadInfo thread, IProgressListener listener) Add detailed DTFJ information, including native thread stack.void
complementShallow
(IThreadInfo thread, IProgressListener listener) Add basic DTFJ information.Column[]
The columns that can be extracted via DTFJ
-
Constructor Details
-
ThreadDetailsResolver
public ThreadDetailsResolver()Create a DTFJ thread details resolver. If DTFJ is not available, create a resolver that does nothing.
-
-
Method Details
-
getColumns
The columns that can be extracted via DTFJ- Specified by:
getColumns
in interfaceIThreadDetailsResolver
- Returns:
- an array of Columns
-
complementShallow
public void complementShallow(IThreadInfo thread, IProgressListener listener) throws SnapshotException Add basic DTFJ information.- 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
Add detailed DTFJ information, including native thread stack.- 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
-