public static class DominatorsSummary.ClassDominatorRecord extends Object
Constructor and Description |
---|
ClassDominatorRecord() |
Modifier and Type | Method and Description |
---|---|
boolean |
addDominated(int objectId)
Add a dominated object to the record
|
void |
addDominatedNetSize(long size)
Increase the dominated net heap size
|
boolean |
addDominator(int objectId)
Add a dominator to the record
|
void |
addDominatorNetSize(long size)
Increase the dominators total size
|
int |
getClassId() |
int |
getClassloaderId()
get the id of the classloader of the dominators' class
|
String |
getClassName()
Get the name of the class for this record
|
int[] |
getDominated()
Get the dominated objects
|
int |
getDominatedCount()
Get the number of dominated objects
|
long |
getDominatedNetSize()
Get the total net size of the dominated objects
|
long |
getDominatedRetainedSize()
Get the total retained heap size of the dominated objects
|
int |
getDominatorCount()
Get the number of dominators
|
long |
getDominatorNetSize()
Get the total net size of the dominators
|
long |
getDominatorRetainedSize()
Get the retained heap size of the dominators
|
int[] |
getDominators()
Get the dominator objects
|
DominatorsSummary |
getSummary()
Get the DominatorsSummary to which this record belongs.
|
void |
setClassId(int classId) |
void |
setClassloaderId(int classloaderId)
set the id of the classloader of the dominators
|
void |
setClassName(String className)
Set the name of the class of this record
|
void |
setDominatedRetainedSize(long dominatedRetainedSize)
Set the retained heap size of the dominated objects
|
void |
setDominatorRetainedSize(long dominatorRetainedSize)
Set the retained heap size of the dominators
|
public String getClassName()
public void setClassName(String className)
className
- public int getClassId()
public void setClassId(int classId)
public long getDominatedNetSize()
public long getDominatorNetSize()
public long getDominatedRetainedSize()
public void setDominatedRetainedSize(long dominatedRetainedSize)
public long getDominatorRetainedSize()
public void setDominatorRetainedSize(long dominatorRetainedSize)
public int getDominatedCount()
public int getDominatorCount()
public int getClassloaderId()
public void setClassloaderId(int classloaderId)
classloaderId
- public boolean addDominated(int objectId)
objectId
- public boolean addDominator(int objectId)
public void addDominatedNetSize(long size)
public void addDominatorNetSize(long size)
public int[] getDominated()
public int[] getDominators()
public DominatorsSummary getSummary()