public class ClassHistogramRecordBuilder extends HistogramRecord
COMPARATOR_FOR_LABEL, COMPARATOR_FOR_NUMBEROFOBJECTS, COMPARATOR_FOR_RETAINEDHEAPSIZE, COMPARATOR_FOR_USEDHEAPSIZE| Constructor and Description |
|---|
ClassHistogramRecordBuilder(String label,
int classId) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int objectId,
long usedHeapSize) |
void |
add(long usedHeapSize) |
void |
addAll(int[] objectIds,
long usedHeapSize) |
void |
addAll(long numberOfObjects,
long usedHeapSize) |
ClassHistogramRecord |
toClassHistogramRecord() |
getLabel, getNumberOfObjects, getRetainedHeapSize, getUsedHeapSize, incNumberOfObjects, incNumberOfObjects, incRetainedHeapSize, incUsedHeapSize, reverseComparator, setLabel, setNumberOfObjects, setRetainedHeapSize, setUsedHeapSizepublic ClassHistogramRecordBuilder(String label, int classId)
public void add(long usedHeapSize)
public void add(int objectId,
long usedHeapSize)
public void addAll(long numberOfObjects,
long usedHeapSize)
public void addAll(int[] objectIds,
long usedHeapSize)
public ClassHistogramRecord toClassHistogramRecord()