public class HistogramBuilder extends HistogramRecord
COMPARATOR_FOR_LABEL, COMPARATOR_FOR_NUMBEROFOBJECTS, COMPARATOR_FOR_RETAINEDHEAPSIZE, COMPARATOR_FOR_USEDHEAPSIZE| Constructor and Description |
|---|
HistogramBuilder(String label) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int classId,
int objectId,
long heapSize) |
void |
put(ClassHistogramRecord record) |
Histogram |
toHistogram(SnapshotImpl snapshot,
boolean isDefaultHistogram) |
getLabel, getNumberOfObjects, getRetainedHeapSize, getUsedHeapSize, incNumberOfObjects, incNumberOfObjects, incRetainedHeapSize, incUsedHeapSize, reverseComparator, setLabel, setNumberOfObjects, setRetainedHeapSize, setUsedHeapSizepublic HistogramBuilder(String label)
public void put(ClassHistogramRecord record)
public void add(int classId,
int objectId,
long heapSize)
public Histogram toHistogram(SnapshotImpl snapshot, boolean isDefaultHistogram) throws SnapshotException
SnapshotException