public class MeasuredRate
extends java.lang.Object
| Constructor and Description |
|---|
MeasuredRate(long sampleInterval) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCount()
Returns the count in the last sample interval.
|
void |
increment()
Increments the count in the current sample interval.
|
void |
start() |
void |
stop() |