Class AggregatingCounter
java.lang.Object
com.couchbase.client.core.cnc.metrics.AggregatingCounter
- All Implemented Interfaces:
Counter
@Volatile public class AggregatingCounter extends Object implements Counter
At the moment this is a NOOP implementation because we do not perform any aggregations
on the counters.
-
Constructor Summary
Constructors Constructor Description AggregatingCounter()
-
Method Summary
Modifier and Type Method Description void
incrementBy(long number)
Increments the counter by the given number.
-
Constructor Details
-
AggregatingCounter
public AggregatingCounter()
-
-
Method Details
-
incrementBy
public void incrementBy(long number)Description copied from interface:Counter
Increments the counter by the given number.- Specified by:
incrementBy
in interfaceCounter
- Parameters:
number
- the number to increment the counter by.
-