com.caucho.env.hprof
Class HprofClass

java.lang.Object
  extended by com.caucho.env.hprof.HprofClass

public final class HprofClass
extends java.lang.Object

Class in a JDK's .hprof file.


Constructor Summary
HprofClass(HprofClassManager classManager, long classObjectId, long classNameId, int serialId, int stackTraceId)
           
 
Method Summary
 void addDescendantSize(int size)
           
 void addInstance()
           
 void addInstance(int size)
           
 java.lang.String getClassName()
           
 long getClassNameId()
           
 int getDescendantCount()
           
 long getDescendantSize()
           
 HprofFieldReader[] getFieldReaders()
           
 java.util.ArrayList<HprofField> getFields()
           
 long getGenericId()
           
 int getInstanceSize()
           
 long getObjectId()
           
 int getSelfCount()
           
 long getSelfSize()
           
 int getSerialId()
           
 int getStackTraceId()
           
 boolean isLeaf()
           
 void postLoad()
          Post processing after the load phase.
 void pushClass(HprofClass next)
           
 void setClassName(java.lang.String className)
           
 void setInstanceSize(int size)
           
 void setIsArray(boolean isArray)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HprofClass

public HprofClass(HprofClassManager classManager,
                  long classObjectId,
                  long classNameId,
                  int serialId,
                  int stackTraceId)
Method Detail

setIsArray

public void setIsArray(boolean isArray)

getObjectId

public long getObjectId()

getClassNameId

public long getClassNameId()

getGenericId

public long getGenericId()

getSerialId

public int getSerialId()

getStackTraceId

public int getStackTraceId()

getClassName

public java.lang.String getClassName()

setClassName

public void setClassName(java.lang.String className)

pushClass

public void pushClass(HprofClass next)

setInstanceSize

public void setInstanceSize(int size)

getInstanceSize

public int getInstanceSize()

getFieldReaders

public HprofFieldReader[] getFieldReaders()

getFields

public java.util.ArrayList<HprofField> getFields()

addInstance

public void addInstance()

addInstance

public void addInstance(int size)

addDescendantSize

public void addDescendantSize(int size)

getSelfSize

public long getSelfSize()

getSelfCount

public int getSelfCount()

getDescendantSize

public long getDescendantSize()

getDescendantCount

public int getDescendantCount()

isLeaf

public boolean isLeaf()

postLoad

public void postLoad()
Post processing after the load phase.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object