public interface Reservoir
Modifier and Type | Method and Description |
---|---|
Snapshot |
getSnapshot()
Return a
Snapshot of this reservoir |
int |
size()
Return the number of values in this reservoir
|
void |
update(long value)
Update the reservoir with the new value
|