public abstract class Statistics
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
Statistics(int readsToStore) |
Modifier and Type | Method and Description |
---|---|
double |
getAndStoreCurrentLoadPercent()
Gets the current load percent, but also stores the value read for later getting an average value.
|
double |
getAverageLoadPercent()
Returns the average load percent over the stored reads of this object (from 0 to 1).
|
abstract double |
getCurrentLoadPercent()
Returns the current load as a percentage (from 0 to 1).
|
public abstract double getCurrentLoadPercent()
public double getAndStoreCurrentLoadPercent()
getCurrentLoadPercent()
for the return values informationpublic double getAverageLoadPercent()
getAndStoreCurrentLoadPercent()
method is called