|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTranslatableAnalyzer
com.ibm.dtfj.analyzer.base.SimpleAnalyzerBean
com.ibm.dtfj.analyzer.helpers.OneJavaThread
public class OneJavaThread
Print and extract basic information about one DTFJ JavaThread object
Cross-reference against the list of monitors to determine which monitors this thread currently holds and waits for.
Constructor Summary | |
---|---|
OneJavaThread()
Null constructor for use as JavaBean |
Method Summary | |
---|---|
void |
declareExtensions(SimpleExtensionRegistry registry)
Register all extension points and extension providers contained in this bean. |
OneImageThread |
getAssociatedImageThread()
|
static OneJavaThread |
getInstance(IAnalyzerContext context,
com.ibm.dtfj.java.JavaThread parent)
Find the OneJavaThread bean instance associated with a given parent JavaThread (create it if necessary) |
void |
printBasicInfo(IAnalysisReport out)
Print the basic information associated with this thread, as a segment of a report |
void |
printMonitorInfo(IAnalysisReport out)
Print the monitor information associated with this thread, as a segment of a report |
void |
printNativeInfo(IAnalysisReport out)
Print the native thread information associated with this thread, as a segment of a report |
void |
printObjectInfo(IAnalysisReport out)
Print the thread object associated with this thread, as a segment of a report |
void |
printStackAreaInfo(IAnalysisReport out)
Print the stack area information associated with this thread, as a segment of a report |
void |
printStackFramesInfo(IAnalysisReport out,
int maxFrames)
Print the stack frames associated with this thread, as a segment of a report |
IAnalysisReport |
produceReport()
Generate a report which will be encapsulated in the IAnalysisReport object for later use by some formatter. |
void |
setParent(java.lang.Object parent)
Set the parent JavaThread underlying this analyzer bean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OneJavaThread()
Method Detail |
---|
public static OneJavaThread getInstance(IAnalyzerContext context, com.ibm.dtfj.java.JavaThread parent)
context
- the AnalyzerContext in which to locate this bean instanceparent
- the parent JavaThread underlying this analyzer bean
public void setParent(java.lang.Object parent)
setParent
in interface IWrapper
setParent
in class SimpleAnalyzerBean
parent
- The parent object to set. Must be of type JavaThread.
compatible with the type of analyzer bean that receives itIWrapper.setParent(java.lang.Object)
public OneImageThread getAssociatedImageThread() throws com.ibm.dtfj.image.DTFJException
com.ibm.dtfj.image.DTFJException
public IAnalysisReport produceReport()
IReport
produceReport
in interface IReport
produceReport
in class SimpleAnalyzerBean
IReport.produceReport()
public void printNativeInfo(IAnalysisReport out)
out
- the report on which to write the informationpublic void printStackFramesInfo(IAnalysisReport out, int maxFrames)
out
- the report on which to write the informationmaxFrames
- maximum number of frames to include in the reportpublic void printStackAreaInfo(IAnalysisReport out)
out
- the report on which to write the informationpublic void printMonitorInfo(IAnalysisReport out)
out
- the report on which to write the informationpublic void printObjectInfo(IAnalysisReport out)
out
- the report on which to write the informationpublic void printBasicInfo(IAnalysisReport out)
out
- the report on which to write the informationpublic void declareExtensions(SimpleExtensionRegistry registry)
IDeclareExtensions
declareExtensions
in interface IDeclareExtensions
registry
- a SimpleExtensionRegistry in which to register the extensionsIDeclareExtensions.declareExtensions(com.ibm.dtfj.analyzer.internal.reportextensions.SimpleExtensionRegistry)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |