public class CommonMemoryData<T extends CommonMemoryRecord> extends Object implements ReportData
Constructor and Description |
---|
CommonMemoryData() |
Modifier and Type | Method and Description |
---|---|
void |
add(T record) |
Statistics |
committedStatistics()
Get the statistics for the committed heap
|
List<Long> |
getCommitted()
Get the committed memory records
|
List<Long> |
getCommitted(long scale)
Get the committed memory records
|
List<Long> |
getInitial()
Get the initial memory records
|
List<Long> |
getInitial(long scale)
Get the initial memory records
|
List<Long> |
getMax()
Get the max memory records
|
List<Long> |
getMax(long scale)
Get the max memory records
|
int |
getNumberOfSamples() |
List<Date> |
getPeriods() |
Set<T> |
getRecordSet() |
List<Long> |
getUsed()
Get the used memory records
|
List<Long> |
getUsed(long scale)
Get the used memory records
|
Statistics |
usedStatistics()
Get the statistics for the used heap
|
public void add(T record)
public List<Date> getPeriods()
getPeriods
in interface ReportData
public Set<T> getRecordSet()
getRecordSet
in interface ReportData
public List<Long> getUsed(long scale)
scale
- the scale to use (ie.: to convert from bytes to kilobytes). Default = 1public List<Long> getCommitted(long scale)
scale
- the scale to use (ie.: to convert from bytes to kilobytes). Default = 1public List<Long> getCommitted()
public List<Long> getInitial(long scale)
scale
- the scale to use (ie.: to convert from bytes to kilobytes). Default = 1public List<Long> getInitial()
public List<Long> getMax(long scale)
scale
- the scale to use (ie.: to convert from bytes to kilobytes). Default = 1public int getNumberOfSamples()
public Statistics usedStatistics()
public Statistics committedStatistics()
This documentation was released into the public domain.