public class StatisticsObjectList extends Object
| Constructor and Description | 
|---|
StatisticsObjectList()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(Object value,
   long timeStampMillis)
Adds the specified object to the list 
 | 
Double | 
getAverage()  | 
Double | 
getDeltaValuePerMilliSecond()  | 
Double | 
getDeltaValuePerNanoSecond()  | 
Double | 
getDeltaValuePerSecond()  | 
Object | 
getLast()  | 
Object | 
getMaximum()  | 
Object | 
getMinimum()  | 
Object | 
getPercentile(double percentile)  | 
String | 
toString()  | 
public void add(Object value, long timeStampMillis)
public Double getAverage()
ClassCastException - if any object in the list is not a Numberpublic Object getMinimum()
ClassCastException - if any object in the list is not a Comparablepublic Object getMaximum()
ClassCastException - if any object in the list is not a Comparablepublic Object getLast()
public Object getPercentile(double percentile)
ClassCastException - if any object in the list is not a ComparableIllegalArgumentException - if percentile is bigger than 100 or less than 0public Double getDeltaValuePerNanoSecond()
ClassCastException - if any object in the list is not a Numberpublic Double getDeltaValuePerMilliSecond()
ClassCastException - if any object in the list is not a Numberpublic Double getDeltaValuePerSecond()
ClassCastException - if any object in the list is not a NumberCopyright © GigaSpaces.