|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTranslatableAnalyzer
com.ibm.dtfj.analyzer.base.AnalyzerBase
com.ibm.dtfj.analyzer.helpers.ClassInstanceCounter
public class ClassInstanceCounter
Analyzer to count the number of instances of a given class or list of classes
Constructor Summary | |
---|---|
ClassInstanceCounter()
|
Method Summary | |
---|---|
int[] |
countInstances(java.lang.Object heap,
java.lang.String[] classes)
Count the number of instances of the requested classes |
java.lang.String |
getShortDescription()
Description of this analyzer |
java.lang.String |
getVersion()
(non-Javadoc) |
IAnalysisReport |
produceReport()
Produce a report showing the class instance information |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassInstanceCounter()
Method Detail |
---|
public java.lang.String getShortDescription()
getShortDescription
in interface IAnalyzerBase
getShortDescription
in class AnalyzerBase
public java.lang.String getVersion()
getVersion
in interface IAnalyzerBase
getVersion
in class AnalyzerBase
AnalyzerBase.getVersion()
public IAnalysisReport produceReport()
produceReport
in interface IReport
public int[] countInstances(java.lang.Object heap, java.lang.String[] classes)
heap
- - the heap to searchclasses
- - a string array of the classes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |