|
JProfiler API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HeapValue
Contains information about allocated instances of a class or package.
Whether a class or package is contained in this structure is results from the actual interface returned by the descriptor property. The descriptor type is determined by the aggregation level that you specify when requesting the profiling data.
Aggregation
Method Summary | |
---|---|
Descriptor |
getDescriptor(Connection connection)
Returns the descriptor that describes the class or package for this heap value. |
long |
getInstanceCount()
Returns the number of instances of the class or package represented by this heap value. |
long |
getSize()
Returns the shallow size in bytes of the instances of the class or package represented by this heap value. |
Method Detail |
---|
Descriptor getDescriptor(Connection connection)
For a class, the descriptor is of type ClassDescriptor
,
for a package, you get a PackageDescriptor
.
connection
- the connection by which this heap value was created
long getInstanceCount()
long getSize()
|
JProfiler API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |