public class LongAdderWithDelegateMetric extends LongAdderMetric
| Constructor and Description |
|---|
LongAdderWithDelegateMetric(String name,
LongConsumer delegate,
@Nullable String descr) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(long x)
Adds x to the metric.
|
decrement, increment, reset, valuedescription, equals, hashCode, nameclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAsStringdescription, namepublic LongAdderWithDelegateMetric(String name, LongConsumer delegate, @Nullable @Nullable String descr)
name - Name.delegate - Delegate to which all updates from new metric will be delegated to.descr - Description.public void add(long x)
add in class LongAdderMetricx - Value to be added.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020