public class RateCounter
extends java.lang.Object
Long
s are added to this from the time of creation or the last call to reset()
.Constructor and Description |
---|
RateCounter() |
Modifier and Type | Method and Description |
---|---|
void |
add(long l) |
long |
getRate() |
void |
reset() |
Copyright © 1995–2021 Webtide. All rights reserved.