public class SampleGroup extends Sample
Modifier and Type | Method and Description |
---|---|
void |
addSample(Sample stat)
Adds a sample to the group.
|
long |
avgRate()
Returns the average of the message rates in the SampleGroup.
|
long |
maxRate()
Returns the maximum of the message rates in the SampleGroup.
|
long |
minRate()
Returns the minimum of the message rates in the SampleGroup.
|
String |
statistics()
Formats the statistics for this group in a human-readable format.
|
double |
stdDev()
Returns the standard deviation of the message rates in the SampleGroup.
|
public void addSample(Sample stat)
stat
- the sample to addpublic long minRate()
public long maxRate()
public long avgRate()
public double stdDev()
public String statistics()
Copyright © 2015–2016 Apcera, Inc.. All rights reserved.