public class MemoryAfterGCStatistics extends Statistics
| Constructor and Description |
|---|
MemoryAfterGCStatistics(int numReadsToStore)
Creates a memory after gc statistics object that will store up to the specified number of entries to use in average calculation
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCurrentLoadPercent()
Returns the current load as a percentage (from 0 to 1).
|
getAndStoreCurrentLoadPercent, getAverageLoadPercentpublic MemoryAfterGCStatistics(int numReadsToStore)
numReadsToStore - The number of reads to store for getting an average (must be greater than 0)public double getCurrentLoadPercent()
StatisticsgetCurrentLoadPercent in class Statistics