|
|||||||||
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.AllJavaMonitors
public class AllJavaMonitors
Print and query the list of all JavaMonitor objects within a DTFJ JavaRuntime
Cross-reference against the list of JavaThreads to determine which JavaMonitors
are currently owned or waited on by various JavaThreads
Constructor Summary | |
---|---|
AllJavaMonitors()
Null constructor for use as JavaBean |
Method Summary | |
---|---|
com.ibm.dtfj.java.JavaMonitor |
getBlockedOnMonitor(com.ibm.dtfj.java.JavaThread th)
Find the monitor that a given java thread is currently blocked on |
static AllJavaMonitors |
getInstance(IAnalyzerContext context,
com.ibm.dtfj.java.JavaRuntime parent)
Find the AllJavaMonitors bean instance associated with a given parent JavaRuntime (create it if necessary) |
java.util.Vector |
getOwnedMonitors(com.ibm.dtfj.java.JavaThread th)
Find all the monitors owned by one java thread |
void |
initializeMonitorInfo()
Setup information about all monitors currently owned or blocked on by all threads |
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 JavaRuntime 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 AllJavaMonitors()
Method Detail |
---|
public static AllJavaMonitors getInstance(IAnalyzerContext context, com.ibm.dtfj.java.JavaRuntime parent)
context
- the AnalyzerContext in which to locate this bean instanceparent
- the parent JavaRuntime 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 JavaRuntime.
compatible with the type of analyzer bean that receives itIWrapper.setParent(java.lang.Object)
public void initializeMonitorInfo()
public java.util.Vector getOwnedMonitors(com.ibm.dtfj.java.JavaThread th) throws com.ibm.dtfj.image.DTFJException
th
- JavaThread for which we want to find owned monitors
com.ibm.dtfj.image.DTFJException
public com.ibm.dtfj.java.JavaMonitor getBlockedOnMonitor(com.ibm.dtfj.java.JavaThread th) throws com.ibm.dtfj.image.DTFJException
th
- JavaThread for which we want to find the monitor
com.ibm.dtfj.image.DTFJException
public IAnalysisReport produceReport()
IReport
produceReport
in interface IReport
produceReport
in class SimpleAnalyzerBean
IReport.produceReport()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |