public class HprofInstanceManager
extends java.lang.Object
| Constructor and Description |
|---|
HprofInstanceManager(Path path,
HprofClassManager classManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInstance(long objectId,
long classId,
long genericClassId,
int selfSize,
boolean isLeaf) |
void |
addLink(long sourceObjectId,
long sourceClassId,
int fieldId,
long targetObjectId) |
void |
close() |
int |
countIncomingLinks(java.lang.String className) |
void |
finalize() |
int |
getLinkCount() |
java.lang.String |
toString() |
void |
updateLeafs() |
void |
updateLinkTargetClass() |
public HprofInstanceManager(Path path, HprofClassManager classManager) throws java.io.IOException, java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionpublic void close()
public void addInstance(long objectId,
long classId,
long genericClassId,
int selfSize,
boolean isLeaf)
public void addLink(long sourceObjectId,
long sourceClassId,
int fieldId,
long targetObjectId)
public void updateLinkTargetClass()
public void updateLeafs()
public int getLinkCount()
throws java.lang.Exception
java.lang.Exceptionpublic int countIncomingLinks(java.lang.String className)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic java.lang.String toString()
toString in class java.lang.Object