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.IOException
java.sql.SQLException
public 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.Exception
public int countIncomingLinks(java.lang.String className) throws java.sql.SQLException
java.sql.SQLException
public void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Object