public class HistogramMetricImpl extends AbstractMetric implements HistogramMetric
| Constructor and Description |
|---|
HistogramMetricImpl(String name,
@Nullable String desc,
long[] bounds) |
| Modifier and Type | Method and Description |
|---|---|
long[] |
bounds() |
void |
reset()
Resets metric state.
|
void |
reset(long[] bounds)
Resets histogram state with the specified bounds.
|
Class<long[]> |
type() |
long[] |
value() |
void |
value(long x)
Sets value.
|
description, equals, hashCode, nameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAsStringdescription, namepublic void value(long x)
x - Value.public void reset(long[] bounds)
bounds - Bounds.public long[] value()
value in interface ObjectMetric<long[]>public long[] bounds()
bounds in interface HistogramMetricpublic Class<long[]> type()
type in interface ObjectMetric<long[]>
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020