|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ImmutableStatisticsSet
Read-only view of a statistics set, see StatisticsSet.
| Method Summary | |
|---|---|
long |
getCount(net.grinder.statistics.StatisticsIndexMap.SampleIndex index)
Get the number of samples for the sample statistic specified by index. |
double |
getSum(StatisticsIndexMap.DoubleSampleIndex index)
Get the total sample value for the sample statistic specified by index. |
long |
getSum(StatisticsIndexMap.LongSampleIndex index)
Get the total sample value for the sample statistic specified by index. |
double |
getValue(StatisticsIndexMap.DoubleIndex index)
Return the value specified by index. |
long |
getValue(StatisticsIndexMap.LongIndex index)
Return the value specified by index. |
double |
getVariance(net.grinder.statistics.StatisticsIndexMap.SampleIndex index)
Get the sample variance for the sample statistic specified by index. |
boolean |
isComposite()
Return whether this statistics set has been marked as containing composite statistics. |
boolean |
isZero()
Return whether all the statistics are zero. |
StatisticsSet |
snapshot()
Clone this object. |
| Method Detail |
|---|
StatisticsSet snapshot()
long getValue(StatisticsIndexMap.LongIndex index)
index.
index - The index.
double getValue(StatisticsIndexMap.DoubleIndex index)
index.
index - The index.
long getSum(StatisticsIndexMap.LongSampleIndex index)
index.
index - The index.
double getSum(StatisticsIndexMap.DoubleSampleIndex index)
index.
index - The index.
long getCount(net.grinder.statistics.StatisticsIndexMap.SampleIndex index)
index.
index - The index.
double getVariance(net.grinder.statistics.StatisticsIndexMap.SampleIndex index)
index.
index - The index.
boolean isZero()
This method can return false, even if all of the statistics
are zero; but if it returns true they are guaranteed to be
zero.
true => all values are zero.boolean isComposite()
true => this statistics set contains composite
statistics.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||