public class Interval extends Object
Modifier and Type | Field and Description |
---|---|
long |
count |
long |
max |
long |
min |
long |
total |
Constructor and Description |
---|
Interval() |
Modifier and Type | Method and Description |
---|---|
long |
mean()
Answer the mean of all the values updated.
|
String |
toString() |
void |
update(long duration)
Update with the value of another measurement.
|
void |
update(long duration,
boolean suppressMin)
Update with the value of another measurement.
|
public long min
public long total
public long max
public long count
public void update(long duration)
public void update(long duration, boolean suppressMin)
suppressMin
is true, do not update the record of the minimum value.public long mean()
Copyright © 2014. All Rights Reserved.