public class HprofIndexBuilder extends Object implements IIndexBuilder
| Constructor and Description |
|---|
HprofIndexBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
called in case of error to delete any files / close any file handles
|
void |
clean(int[] purgedMapping,
IProgressListener listener)
Memory Analyzer has discard unreachable objects, so the parser may need to known
the discarded objects
|
void |
fill(IPreliminaryIndex preliminary,
IProgressListener listener)
pass1 and pass2 parsing
|
void |
init(File file,
String prefix)
initialize with file and prefix (needed for naming conventions)
|
public void init(File file, String prefix)
IIndexBuilderinit in interface IIndexBuilderfile - the dump fileprefix - used to build index filespublic void fill(IPreliminaryIndex preliminary, IProgressListener listener) throws SnapshotException, IOException
IIndexBuilderfill in interface IIndexBuilderlistener - for progress and error reportingSnapshotExceptionIOExceptionpublic void clean(int[] purgedMapping,
IProgressListener listener)
throws IOException
IIndexBuilderclean in interface IIndexBuilderpurgedMapping - mapping from old id to new id, -1 indicates object has been discardedlistener - for progress and error reportingIOExceptionpublic void cancel()
IIndexBuildercancel in interface IIndexBuilder