public interface Reservoir
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.microprofile.metrics.Snapshot |
getSnapshot()
Returns a snapshot of the reservoir's values.
|
int |
size()
Returns the number of values recorded.
|
void |
update(long value)
Adds a new recorded value to the reservoir.
|
int size()
void update(long value)
value - a new recorded valueorg.eclipse.microprofile.metrics.Snapshot getSnapshot()
Copyright © 2017 JBoss by Red Hat. All rights reserved.