Class Histogram
java.lang.Object
com.codahale.metrics.Histogram
-
Field Details
-
reservoir
-
count
-
-
Constructor Details
-
Histogram
-
-
Method Details
-
update
public void update(int value) Adds a recorded value.- Parameters:
value- the length of the value
-
update
public void update(long value) Adds a recorded value.- Parameters:
value- the length of the value
-
getCount
-
getSnapshot
Description copied from interface:SamplingReturns a snapshot of the values.- Specified by:
getSnapshotin interfaceSampling- Returns:
- a snapshot of the values
-