public class Stats extends Object
| Constructor and Description |
|---|
Stats(long timestamp,
String group,
String type,
String name,
String visibility,
long min,
long max,
long sum,
long count,
long sumSquare) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getCount()
The number of values encountered for the time range
|
String |
getGroup()
The group for the metric
|
long |
getMax()
The max value encountered for the time range
|
double |
getMean()
The mean/average of the values encountered for the time range
|
long |
getMin()
The min value encountered for the time range
|
String |
getName()
The name for the metric
|
double |
getStdDev()
The population standard deviation for the values encountered for the time range.
|
double |
getStdDev(boolean asSample)
The standard deviation for the values encountered for the time range.
|
long |
getSum()
The sum of the values encountered for the time range
|
long |
getSumSquare()
The sum of the squares for the values encountered for the time range
|
long |
getTimestamp()
The normalized timestamp representing the beginning time for the metric
|
String |
getType()
The type for the metric
|
double |
getVariance()
The population variance for the values encountered for the time range
|
double |
getVariance(boolean asSample)
The variance of the values encountered for the time range.
|
String |
getVisibility()
The aggregated visibility of the metric
|
int |
hashCode() |
String |
toString() |
public long getTimestamp()
public String getGroup()
public String getType()
public String getName()
public String getVisibility()
public long getMin()
public long getMax()
public long getSum()
public long getCount()
public long getSumSquare()
public double getMean()
public double getVariance()
public double getVariance(boolean asSample)
https://statistics.laerd.com/statistical-guides/measures-of-spread-standard-deviation.phppublic double getStdDev()
public double getStdDev(boolean asSample)
https://statistics.laerd.com/statistical-guides/measures-of-spread-standard-deviation.phpCopyright © 2014 Calrissian. All Rights Reserved.