public interface Sample
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all recorded values.
|
Snapshot |
getSnapshot()
Returns a snapshot of the sample's values.
|
int |
size()
Returns the number of values recorded.
|
void |
update(long value)
Adds a new recorded value to the sample.
|
void clear()
int size()
void update(long value)
value
- a new recorded valueSnapshot getSnapshot()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.