class UniformTimeSimpleSnapshot extends AbstractTimeSnapshot
UniformTimeSimpleSnapshot.| Modifier and Type | Field and Description |
|---|---|
private long |
count |
private long |
max |
private double |
mean |
private long |
min |
| Constructor and Description |
|---|
UniformTimeSimpleSnapshot(long max,
long min,
double mean,
long count,
long timeInterval,
java.util.concurrent.TimeUnit timeIntervalUnit)
Constructs the snapshot which simply returns the provided data as arguments.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getMax() |
double |
getMean() |
long |
getMin() |
long |
size() |
getRate, getTimeIntervalprivate final long max
private final long min
private final double mean
private final long count
public UniformTimeSimpleSnapshot(long max,
long min,
double mean,
long count,
long timeInterval,
java.util.concurrent.TimeUnit timeIntervalUnit)
max - The maximum.min - The minimum.mean - The mean.count - The total count.timeInterval - The time interval of this snapshot.timeIntervalUnit - The time interval unit.