-
-
Constructor Summary
Constructors
Constructor and Description |
Stat() |
-
-
Method Detail
-
min
public long min()
- Specified by:
min
in interface Stats
- Returns:
- the minimum data point seen, or 0 if no data was seen
-
max
public long max()
- Specified by:
max
in interface Stats
- Returns:
- the maximum data point seen, or 0 if no data was seen
-
sum
public long sum()
- Specified by:
sum
in interface Stats
- Returns:
- the sum of the data points seen, or 0 if no data was seen
-
mean
public double mean()
- Specified by:
mean
in interface Stats
- Returns:
- the mean of the data points seen, or
Double.NaN
if no data was seen
-
clear
public void clear()
-
num
public long num()
- Specified by:
num
in interface Stats
- Returns:
- the number of data points seen
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.