public class ConstantStatAttribute extends AbstractMeter
Modifier and Type | Method and Description |
---|---|
double |
calculate()
Polls the statistics attribute.
|
void |
sample()
Sample the meter, resetting any counters for the next sample.
|
getName, peek, toString
public void sample()
AbstractMeter
sample
in interface Meter
sample
in class AbstractMeter
public double calculate()
calculate
in interface Meter
calculate
in class AbstractMeter