public class Measurement extends Object
Constructor and Description |
---|
Measurement(long desirable,
DataType type)
Constructs a new Measurement with a desired value and DataType.
|
Modifier and Type | Method and Description |
---|---|
long |
average() |
ProfileFuture |
beginMeasurement() |
int |
entries() |
DataHolder |
getDataHolder() |
long |
getMax() |
long |
getMin() |
double |
getStdDev() |
void |
record(long value) |
void |
reset() |
int |
size() |
public Measurement(long desirable, DataType type)
desirable
- The desired value of the measurement.type
- The type of data the measurement is holding.public void record(long value)
public int size()
public ProfileFuture beginMeasurement()
public void reset()
public DataHolder getDataHolder()
public long getMin()
public long getMax()
public long average()
public double getStdDev()
public int entries()
Copyright © 2020. All rights reserved.