@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public interface Histogram extends Metric
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Return the total number of values added to the histogram.
|
Snapshot |
snapshot()
Snapshot the current values in the Histogram
|
void |
update(int value)
Adds a new value to the distribution.
|
void |
update(long value)
Adds a new value to the distribution.
|
void update(int value)
value
- The value to addvoid update(long value)
value
- The value to addlong getCount()
@InterfaceAudience.Private Snapshot snapshot()
Copyright © 2007–2019 Cloudera. All rights reserved.