public interface ImmutableStatisticsSet
StatisticsSet.| Modifier and Type | Method and Description |
|---|---|
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.
|
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.Copyright © 2000-2014. All Rights Reserved.