Class AggregatingCounter
java.lang.Object
com.couchbase.client.core.cnc.metrics.AggregatingCounter
- All Implemented Interfaces:
Counter
At the moment this is a NOOP implementation because we do not perform any aggregations
on the counters.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-